1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
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 *);
123 /***********************************************************************
124 * pyrun.swg for wxPython
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
131 ************************************************************************/
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
146 /* Flags for pointer conversion */
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
154 /* Constant information structure */
155 typedef struct swig_const_info
{
161 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
192 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
195 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
200 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
204 /* Contract support */
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
222 /* -------- TYPES TABLE (BEGIN) -------- */
224 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
225 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
226 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
227 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[3]
228 #define SWIGTYPE_p_wxPyPanel swig_types[4]
229 #define SWIGTYPE_p_wxMenu swig_types[5]
230 #define SWIGTYPE_p_wxPrintData swig_types[6]
231 #define SWIGTYPE_p_wxFontData swig_types[7]
232 #define SWIGTYPE_p_wxEvent swig_types[8]
233 #define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
234 #define SWIGTYPE_p_wxIconBundle swig_types[10]
235 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
236 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
237 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
238 #define SWIGTYPE_p_wxFont swig_types[14]
239 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
240 #define SWIGTYPE_p_wxRegion swig_types[16]
241 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
242 #define SWIGTYPE_p_int swig_types[18]
243 #define SWIGTYPE_p_wxSize swig_types[19]
244 #define SWIGTYPE_p_wxDC swig_types[20]
245 #define SWIGTYPE_p_wxIcon swig_types[21]
246 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
247 #define SWIGTYPE_p_wxColourData swig_types[23]
248 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
249 #define SWIGTYPE_p_wxPyWindow swig_types[25]
250 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
251 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
252 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
253 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
254 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
255 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
256 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
257 #define SWIGTYPE_p_wxFileDialog swig_types[33]
258 #define SWIGTYPE_p_wxPrinter swig_types[34]
259 #define SWIGTYPE_p_wxMenuItem swig_types[35]
260 #define SWIGTYPE_p_wxArrayInt swig_types[36]
261 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
262 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
263 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
264 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
265 #define SWIGTYPE_p_wxRect swig_types[41]
266 #define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
267 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
268 #define SWIGTYPE_p_wxFrame swig_types[44]
269 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
270 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
271 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
272 #define SWIGTYPE_p_wxStatusBar swig_types[48]
273 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
274 #define SWIGTYPE_p_wxPoint swig_types[50]
275 #define SWIGTYPE_p_wxObject swig_types[51]
276 #define SWIGTYPE_p_unsigned_long swig_types[52]
277 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
278 #define SWIGTYPE_p_wxTipWindow swig_types[54]
279 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
280 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
281 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
282 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
283 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
284 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
285 #define SWIGTYPE_p_wxSashWindow swig_types[61]
286 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
287 #define SWIGTYPE_p_wxWindow swig_types[63]
288 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
289 #define SWIGTYPE_p_wxMenuBar swig_types[65]
290 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
291 #define SWIGTYPE_p_wxSashEvent swig_types[67]
292 #define SWIGTYPE_p_wxString swig_types[68]
293 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
294 #define SWIGTYPE_p_wxFontDialog swig_types[70]
295 #define SWIGTYPE_p_wxDirDialog swig_types[71]
296 #define SWIGTYPE_p_wxColourDialog swig_types[72]
297 #define SWIGTYPE_p_wxDialog swig_types[73]
298 #define SWIGTYPE_p_wxPanel swig_types[74]
299 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
300 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
301 #define SWIGTYPE_p_wxBitmap swig_types[77]
302 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
303 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
304 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
305 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
306 #define SWIGTYPE_p_wxColour swig_types[82]
307 #define SWIGTYPE_p_wxToolBar swig_types[83]
308 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
309 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
310 static swig_type_info
*swig_types
[87];
312 /* -------- TYPES TABLE (END) -------- */
315 /*-----------------------------------------------
316 @(target):= _windows.so
317 ------------------------------------------------*/
318 #define SWIG_init init_windows
320 #define SWIG_name "_windows"
322 #include "wx/wxPython/wxPython.h"
323 #include "wx/wxPython/pyclasses.h"
325 DECLARE_DEF_STRING(PanelNameStr
);
326 DECLARE_DEF_STRING(EmptyString
);
332 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
338 } else if (target
== Py_None
) {
342 if (!PyTuple_Check(target
)) {
344 target
= PyTuple_New(1);
345 PyTuple_SetItem(target
, 0, o2
);
348 PyTuple_SetItem(o3
, 0, o
);
351 target
= PySequence_Concat(o2
, o3
);
359 // Put some wx default wxChar* values into wxStrings.
360 DECLARE_DEF_STRING(FrameNameStr
);
361 DECLARE_DEF_STRING(DialogNameStr
);
362 DECLARE_DEF_STRING(StatusLineNameStr
);
363 DECLARE_DEF_STRING(ToolBarNameStr
);
365 bool wxDialog_IsModalShowing(wxDialog
*self
){
369 return self
->IsModalShowing();
375 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
376 DECLARE_DEF_STRING(SplitterNameStr
);
379 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
380 DECLARE_DEF_STRING(SashNameStr
);
381 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
382 DECLARE_DEF_STRING(SashLayoutNameStr
);
385 #include <wx/popupwin.h>
388 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
391 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
392 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
393 : wxPopupTransientWindow(parent
, style
) {}
395 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
396 DEC_PYCALLBACK__(OnDismiss
);
397 DEC_PYCALLBACK_BOOL_(CanDismiss
);
402 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
403 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
404 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
407 #include <wx/tipwin.h>
409 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const *text
,wxCoord maxLength
,wxRect
*rectBound
){
410 wxString tmp
= *text
;
411 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
414 #include <wx/tipwin.h>
417 #include <wx/vscroll.h>
420 class wxPyVScrolledWindow
: public wxVScrolledWindow
422 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
424 wxPyVScrolledWindow() : wxVScrolledWindow() {}
426 wxPyVScrolledWindow(wxWindow
*parent
,
427 wxWindowID id
= wxID_ANY
,
428 const wxPoint
& pos
= wxDefaultPosition
,
429 const wxSize
& size
= wxDefaultSize
,
431 const wxString
& name
= wxPyPanelNameStr
)
432 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
435 // Overridable virtuals
437 // this function must be overridden in the derived class and it should
438 // return the height of the given line in pixels
439 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
442 // this function doesn't have to be overridden but it may be useful to do
443 // it if calculating the lines heights is a relatively expensive operation
444 // as it gives the user code a possibility to calculate several of them at
447 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
448 // shouldn't rely on the latter being called for all lines in the interval
449 // specified here. It is also possible that OnGetLineHeight() will be
450 // called for the lines outside of this interval, so this is really just a
451 // hint, not a promise.
453 // finally note that lineMin is inclusive, while lineMax is exclusive, as
455 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
458 // when the number of lines changes, we try to estimate the total height
459 // of all lines which is a rather expensive operation in terms of lines
460 // access, so if the user code may estimate the average height
461 // better/faster than we do, it should override this function to implement
464 // this function should return the best guess for the total height it may
466 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
469 // Also expose some other interesting protected methods
472 // find the index of the line we need to show at the top of the window such
473 // that the last (fully or partially) visible line is the given one
474 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
475 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
477 // get the total height of the lines between lineMin (inclusive) and
478 // lineMax (exclusive)
479 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
480 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
486 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
488 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
489 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
490 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
493 #include <wx/vlbox.h>
494 DECLARE_DEF_STRING(VListBoxNameStr
);
497 class wxPyVListBox
: public wxVListBox
499 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
501 wxPyVListBox() : wxVListBox() {}
503 wxPyVListBox(wxWindow
*parent
,
504 wxWindowID id
= wxID_ANY
,
505 const wxPoint
& pos
= wxDefaultPosition
,
506 const wxSize
& size
= wxDefaultSize
,
508 const wxString
& name
= wxPyVListBoxNameStr
)
509 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
512 // Overridable virtuals
514 // the derived class must implement this function to actually draw the item
515 // with the given index on the provided DC
516 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
517 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
520 // the derived class must implement this method to return the height of the
522 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
523 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
526 // this method may be used to draw separators between the lines; note that
527 // the rectangle may be modified, typically to deflate it a bit before
528 // passing to OnDrawItem()
530 // the base class version doesn't do anything
531 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
532 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
535 // this method is used to draw the items background and, maybe, a border
538 // the base class version implements a reasonable default behaviour which
539 // consists in drawing the selected item with the standard background
540 // colour and drawing a border around the item if it is either selected or
542 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
543 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
549 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
551 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
552 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
553 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
554 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
558 #include <wx/htmllbox.h>
561 class wxPyHtmlListBox
: public wxHtmlListBox
563 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
565 wxPyHtmlListBox() : wxHtmlListBox() {}
567 wxPyHtmlListBox(wxWindow
*parent
,
568 wxWindowID id
= wxID_ANY
,
569 const wxPoint
& pos
= wxDefaultPosition
,
570 const wxSize
& size
= wxDefaultSize
,
572 const wxString
& name
= wxPyVListBoxNameStr
)
573 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
576 // Overridable virtuals
578 // this method must be implemented in the derived class and should return
579 // the body (i.e. without <html>) of the HTML for the given item
580 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
582 // this function may be overridden to decorate HTML returned by OnGetItem()
583 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
586 // // this method allows to customize the selection appearance: it may be used
587 // // to specify the colour of the text which normally has the given colour
588 // // colFg when it is inside the selection
590 // // by default, the original colour is not used at all and all text has the
591 // // same (default for this system) colour inside selection
592 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
594 // // this is the same as GetSelectedTextColour() but allows to customize the
595 // // background colour -- this is even more rarely used as you can change it
596 // // globally using SetSelectionBackground()
597 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
604 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
606 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
607 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
614 // implement dummy classes and such for wxMac
616 class wxTaskBarIcon
: public wxEvtHandler
619 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError
); }
623 class wxTaskBarIconEvent
: public wxEvent
626 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
627 { PyErr_SetNone(PyExc_NotImplementedError
); }
628 virtual wxEvent
* Clone() const { return NULL
; }
632 wxEVT_TASKBAR_MOVE
= 0,
633 wxEVT_TASKBAR_LEFT_DOWN
= 0,
634 wxEVT_TASKBAR_LEFT_UP
= 0,
635 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
636 wxEVT_TASKBAR_RIGHT_UP
= 0,
637 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
638 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
644 DECLARE_DEF_STRING(FileSelectorPromptStr
);
645 DECLARE_DEF_STRING(DirSelectorPromptStr
);
646 DECLARE_DEF_STRING(DirDialogNameStr
);
647 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
648 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
649 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
652 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
654 self
->GetFilenames(arr
);
655 return wxArrayString2PyList_helper(arr
);
657 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
660 return wxArrayString2PyList_helper(arr
);
662 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
663 return wxArrayInt2PyList_helper(self
->GetSelections());
665 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
666 return new wxSingleChoiceDialog(parent
, message
, caption
,
667 choices
, choices_array
, NULL
, style
, pos
);
672 // C++ version of Python aware wxWindow
673 class wxPyWindow
: public wxWindow
675 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
677 wxPyWindow() : wxWindow() {}
678 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
679 const wxPoint
& pos
= wxDefaultPosition
,
680 const wxSize
& size
= wxDefaultSize
,
682 const wxString
& name
= wxPyPanelNameStr
)
683 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
686 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
687 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
688 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
689 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
691 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
692 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
693 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
695 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
696 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
698 DEC_PYCALLBACK__(InitDialog
);
699 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
700 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
701 DEC_PYCALLBACK_BOOL_(Validate
);
703 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
704 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
705 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
707 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
708 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
713 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
715 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
716 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
717 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
718 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
720 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
721 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
722 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
724 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
725 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
727 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
728 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
729 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
730 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
732 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
733 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
734 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
736 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
737 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
740 // C++ version of Python aware wxPanel
741 class wxPyPanel
: public wxPanel
743 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
745 wxPyPanel() : wxPanel() {}
746 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
747 const wxPoint
& pos
= wxDefaultPosition
,
748 const wxSize
& size
= wxDefaultSize
,
750 const wxString
& name
= wxPyPanelNameStr
)
751 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
754 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
755 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
756 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
757 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
759 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
760 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
761 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
763 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
764 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
766 DEC_PYCALLBACK__(InitDialog
);
767 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
768 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
769 DEC_PYCALLBACK_BOOL_(Validate
);
771 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
772 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
773 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
775 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
776 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
781 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
783 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
784 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
785 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
786 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
788 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
789 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
790 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
792 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
793 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
795 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
796 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
797 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
798 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
800 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
801 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
802 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
804 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
805 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
809 #include "wx/wxPython/printfw.h"
811 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
812 DECLARE_DEF_STRING(PrintoutTitleStr
);
813 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
814 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
820 // Since this one would be tough and ugly to do with the Macros...
821 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
825 wxPyBeginBlockThreads();
826 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
827 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
828 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
831 val
= PyTuple_GetItem(result
, 0);
832 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
835 val
= PyTuple_GetItem(result
, 1);
836 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
839 val
= PyTuple_GetItem(result
, 2);
840 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
843 val
= PyTuple_GetItem(result
, 3);
844 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
851 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
856 wxPyEndBlockThreads();
858 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
861 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
862 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
866 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
867 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
868 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
869 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
870 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
871 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
872 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
878 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
879 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
880 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
883 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
884 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
887 wxPyBeginBlockThreads(); \
888 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
889 PyObject* win = wxPyMake_wxObject(a); \
890 PyObject* dc = wxPyMake_wxObject(&b); \
891 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
895 wxPyEndBlockThreads(); \
897 rval = PCLASS::CBNAME(a, b); \
900 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
901 return PCLASS::CBNAME(a, b); \
907 class wxPyPrintPreview
: public wxPrintPreview
909 DECLARE_CLASS(wxPyPrintPreview
)
911 wxPyPrintPreview(wxPyPrintout
* printout
,
912 wxPyPrintout
* printoutForPrinting
,
913 wxPrintData
* data
=NULL
)
914 : wxPrintPreview(printout
, printoutForPrinting
, data
)
917 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
918 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
919 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
920 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
921 DEC_PYCALLBACK_VOID_INT(SetZoom
);
922 DEC_PYCALLBACK_BOOL_BOOL(Print
);
923 DEC_PYCALLBACK_VOID_(DetermineScaling
);
928 // Stupid renamed classes... Fix this in 2.5...
929 #if defined(__WXMSW__)
930 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
931 #elif defined(__WXMAC__)
932 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
934 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
937 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
938 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
939 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
940 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
941 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
942 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
943 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
946 class wxPyPreviewFrame
: public wxPreviewFrame
948 DECLARE_CLASS(wxPyPreviewFrame
);
950 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
951 const wxString
& title
,
952 const wxPoint
& pos
= wxDefaultPosition
,
953 const wxSize
& size
= wxDefaultSize
,
954 long style
= wxDEFAULT_FRAME_STYLE
,
955 const wxString
& name
= wxPyFrameNameStr
)
956 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
959 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
960 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
962 DEC_PYCALLBACK_VOID_(Initialize
);
963 DEC_PYCALLBACK_VOID_(CreateCanvas
);
964 DEC_PYCALLBACK_VOID_(CreateControlBar
);
969 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
971 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
972 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
973 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
976 class wxPyPreviewControlBar
: public wxPreviewControlBar
978 DECLARE_CLASS(wxPyPreviewControlBar
);
980 wxPyPreviewControlBar(wxPrintPreview
*preview
,
983 const wxPoint
& pos
= wxDefaultPosition
,
984 const wxSize
& size
= wxDefaultSize
,
986 const wxString
& name
= wxPyPanelNameStr
)
987 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
990 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
992 DEC_PYCALLBACK_VOID_(CreateButtons
);
993 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
998 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
999 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1000 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1005 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
*resultobj
;
1007 wxWindow
*arg1
= (wxWindow
*) 0 ;
1009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1013 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1014 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1015 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1019 bool temp6
= false ;
1020 PyObject
* obj0
= 0 ;
1021 PyObject
* obj2
= 0 ;
1022 PyObject
* obj3
= 0 ;
1023 PyObject
* obj5
= 0 ;
1025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1039 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1044 arg6
= wxString_in_helper(obj5
);
1045 if (arg6
== NULL
) SWIG_fail
;
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1071 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
*resultobj
;
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 result
= (wxPanel
*)new wxPanel();
1083 wxPyEndAllowThreads(__tstate
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1093 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1095 wxPanel
*arg1
= (wxPanel
*) 0 ;
1096 wxWindow
*arg2
= (wxWindow
*) 0 ;
1098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1102 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1103 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1108 bool temp7
= false ;
1109 PyObject
* obj0
= 0 ;
1110 PyObject
* obj1
= 0 ;
1111 PyObject
* obj3
= 0 ;
1112 PyObject
* obj4
= 0 ;
1113 PyObject
* obj6
= 0 ;
1115 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1124 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1130 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1135 arg7
= wxString_in_helper(obj6
);
1136 if (arg7
== NULL
) SWIG_fail
;
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= PyInt_FromLong((long)result
);
1162 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1164 wxPanel
*arg1
= (wxPanel
*) 0 ;
1165 PyObject
* obj0
= 0 ;
1167 (char *) "self", NULL
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 (arg1
)->InitDialog();
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) SWIG_fail
;
1179 Py_INCREF(Py_None
); resultobj
= Py_None
;
1186 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1189 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1191 return Py_BuildValue((char *)"");
1193 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
*resultobj
;
1195 wxWindow
*arg1
= (wxWindow
*) 0 ;
1196 wxWindowID arg2
= (wxWindowID
) (wxWindowID
)-1 ;
1197 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1198 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1199 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1200 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1201 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1202 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1203 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1204 wxScrolledWindow
*result
;
1207 bool temp6
= false ;
1208 PyObject
* obj0
= 0 ;
1209 PyObject
* obj2
= 0 ;
1210 PyObject
* obj3
= 0 ;
1211 PyObject
* obj5
= 0 ;
1213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1227 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1232 arg6
= wxString_in_helper(obj5
);
1233 if (arg6
== NULL
) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1259 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 wxScrolledWindow
*result
;
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1269 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1271 wxPyEndAllowThreads(__tstate
);
1272 if (PyErr_Occurred()) SWIG_fail
;
1274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1281 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
*resultobj
;
1283 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1284 wxWindow
*arg2
= (wxWindow
*) 0 ;
1285 wxWindowID arg3
= (wxWindowID
) (wxWindowID
)-1 ;
1286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1290 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1291 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1292 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1296 bool temp7
= false ;
1297 PyObject
* obj0
= 0 ;
1298 PyObject
* obj1
= 0 ;
1299 PyObject
* obj3
= 0 ;
1300 PyObject
* obj4
= 0 ;
1301 PyObject
* obj6
= 0 ;
1303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1323 arg7
= wxString_in_helper(obj6
);
1324 if (arg7
== NULL
) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= PyInt_FromLong((long)result
);
1350 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
*resultobj
;
1352 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1357 int arg6
= (int) 0 ;
1358 int arg7
= (int) 0 ;
1359 bool arg8
= (bool) FALSE
;
1360 PyObject
* obj0
= 0 ;
1361 PyObject
* obj7
= 0 ;
1363 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 arg8
= PyInt_AsLong(obj7
) ? true : false;
1370 if (PyErr_Occurred()) SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 Py_INCREF(Py_None
); resultobj
= Py_None
;
1386 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1391 PyObject
* obj0
= 0 ;
1393 (char *) "self",(char *) "x",(char *) "y", NULL
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 (arg1
)->Scroll(arg2
,arg3
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1405 Py_INCREF(Py_None
); resultobj
= Py_None
;
1412 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
*resultobj
;
1414 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1417 PyObject
* obj0
= 0 ;
1419 (char *) "self",(char *) "orient", NULL
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= PyInt_FromLong((long)result
);
1438 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1443 PyObject
* obj0
= 0 ;
1445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1457 Py_INCREF(Py_None
); resultobj
= Py_None
;
1464 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1469 PyObject
* obj0
= 0 ;
1471 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 (arg1
)->SetScrollRate(arg2
,arg3
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1483 Py_INCREF(Py_None
); resultobj
= Py_None
;
1490 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1493 int *arg2
= (int *) 0 ;
1494 int *arg3
= (int *) 0 ;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "self", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1513 Py_INCREF(Py_None
); resultobj
= Py_None
;
1515 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1516 resultobj
= t_output_helper(resultobj
,o
);
1519 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1520 resultobj
= t_output_helper(resultobj
,o
);
1528 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1530 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1533 PyObject
* obj0
= 0 ;
1534 PyObject
* obj1
= 0 ;
1535 PyObject
* obj2
= 0 ;
1537 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1542 arg2
= PyInt_AsLong(obj1
) ? true : false;
1543 if (PyErr_Occurred()) SWIG_fail
;
1544 arg3
= PyInt_AsLong(obj2
) ? true : false;
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 (arg1
)->EnableScrolling(arg2
,arg3
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 Py_INCREF(Py_None
); resultobj
= Py_None
;
1560 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
*resultobj
;
1562 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1563 int *arg2
= (int *) 0 ;
1564 int *arg3
= (int *) 0 ;
1567 PyObject
* obj0
= 0 ;
1569 (char *) "self", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 Py_INCREF(Py_None
); resultobj
= Py_None
;
1585 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1586 resultobj
= t_output_helper(resultobj
,o
);
1589 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1590 resultobj
= t_output_helper(resultobj
,o
);
1598 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
*resultobj
;
1600 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self",(char *) "xs",(char *) "ys", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 (arg1
)->SetScale(arg2
,arg3
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1617 Py_INCREF(Py_None
); resultobj
= Py_None
;
1624 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
*resultobj
;
1626 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1628 PyObject
* obj0
= 0 ;
1630 (char *) "self", NULL
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1642 resultobj
= PyFloat_FromDouble(result
);
1649 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "self", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= PyFloat_FromDouble(result
);
1674 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1675 PyObject
*resultobj
;
1676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1679 int *arg4
= (int *) 0 ;
1680 int *arg5
= (int *) 0 ;
1683 PyObject
* obj0
= 0 ;
1687 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 Py_INCREF(Py_None
); resultobj
= Py_None
;
1698 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1699 resultobj
= t_output_helper(resultobj
,o
);
1702 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1703 resultobj
= t_output_helper(resultobj
,o
);
1711 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1712 PyObject
*resultobj
;
1713 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1720 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1734 wxPoint
* resultptr
;
1735 resultptr
= new wxPoint((wxPoint
&) result
);
1736 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1744 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1749 argc
= PyObject_Length(args
);
1750 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1751 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1757 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1766 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1769 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1777 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1786 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1790 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1793 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1799 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1804 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1805 PyObject
*resultobj
;
1806 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1809 int *arg4
= (int *) 0 ;
1810 int *arg5
= (int *) 0 ;
1813 PyObject
* obj0
= 0 ;
1817 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1826 Py_INCREF(Py_None
); resultobj
= Py_None
;
1828 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1829 resultobj
= t_output_helper(resultobj
,o
);
1832 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1833 resultobj
= t_output_helper(resultobj
,o
);
1841 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1842 PyObject
*resultobj
;
1843 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1847 PyObject
* obj0
= 0 ;
1848 PyObject
* obj1
= 0 ;
1850 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1864 wxPoint
* resultptr
;
1865 resultptr
= new wxPoint((wxPoint
&) result
);
1866 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1874 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1879 argc
= PyObject_Length(args
);
1880 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1881 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1887 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1896 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1899 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1907 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1916 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1920 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1923 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1929 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1934 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1937 PyObject
* obj0
= 0 ;
1939 (char *) "self", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 (arg1
)->AdjustScrollbars();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1961 wxScrollWinEvent
*arg2
= 0 ;
1963 PyObject
* obj0
= 0 ;
1964 PyObject
* obj1
= 0 ;
1966 (char *) "self",(char *) "event", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= PyInt_FromLong((long)result
);
1989 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1992 wxWindow
*arg2
= (wxWindow
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1994 PyObject
* obj1
= 0 ;
1996 (char *) "self",(char *) "target", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 (arg1
)->SetTargetWindow(arg2
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 Py_INCREF(Py_None
); resultobj
= Py_None
;
2016 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2022 (char *) "self", NULL
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2035 resultobj
= wxPyMake_wxObject(result
);
2043 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2049 PyObject
* obj1
= 0 ;
2051 (char *) "self",(char *) "rect", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 Py_INCREF(Py_None
); resultobj
= Py_None
;
2074 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2078 PyObject
* obj0
= 0 ;
2080 (char *) "self", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2094 resultptr
= new wxRect((wxRect
&) result
);
2095 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2103 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2106 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2108 return Py_BuildValue((char *)"");
2110 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
*resultobj
;
2112 int arg1
= (int) 0 ;
2113 int arg2
= (int) 0 ;
2114 int arg3
= (int) 0 ;
2115 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
2116 wxAcceleratorEntry
*result
;
2117 PyObject
* obj3
= 0 ;
2119 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
2124 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
2140 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2143 PyObject
* obj0
= 0 ;
2145 (char *) "self", NULL
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
2149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 Py_INCREF(Py_None
); resultobj
= Py_None
;
2164 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2170 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
2171 PyObject
* obj0
= 0 ;
2172 PyObject
* obj4
= 0 ;
2174 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2180 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 Py_INCREF(Py_None
); resultobj
= Py_None
;
2196 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2199 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
2200 PyObject
* obj0
= 0 ;
2201 PyObject
* obj1
= 0 ;
2203 (char *) "self",(char *) "item", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
2207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 (arg1
)->SetMenuItem(arg2
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= wxPyMake_wxObject(result
);
2250 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2256 (char *) "self", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 result
= (int)(arg1
)->GetFlags();
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 resultobj
= PyInt_FromLong((long)result
);
2275 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2281 (char *) "self", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 result
= (int)(arg1
)->GetKeyCode();
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2293 resultobj
= PyInt_FromLong((long)result
);
2300 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2302 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2304 PyObject
* obj0
= 0 ;
2306 (char *) "self", NULL
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
2310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 result
= (int)(arg1
)->GetCommand();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 resultobj
= PyInt_FromLong((long)result
);
2325 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
2327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2328 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
2330 return Py_BuildValue((char *)"");
2332 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2335 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
2336 wxAcceleratorTable
*result
;
2337 PyObject
* obj0
= 0 ;
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2344 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
2345 if (arg2
) arg1
= PyList_Size(obj0
);
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
2368 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "self", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2385 Py_INCREF(Py_None
); resultobj
= Py_None
;
2392 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2398 (char *) "self", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= PyInt_FromLong((long)result
);
2417 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
2419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2420 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
2422 return Py_BuildValue((char *)"");
2424 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
2425 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
2430 static PyObject
*_wrap_NullAcceleratorTable_get() {
2433 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
2438 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxString
*arg1
= 0 ;
2441 wxAcceleratorEntry
*result
;
2442 bool temp1
= false ;
2443 PyObject
* obj0
= 0 ;
2445 (char *) "label", NULL
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
2450 arg1
= wxString_in_helper(obj0
);
2451 if (arg1
== NULL
) SWIG_fail
;
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
2476 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2478 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2479 bool arg2
= (bool) TRUE
;
2480 PyObject
* obj0
= 0 ;
2481 PyObject
* obj1
= 0 ;
2483 (char *) "self",(char *) "maximize", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2489 arg2
= PyInt_AsLong(obj1
) ? true : false;
2490 if (PyErr_Occurred()) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 (arg1
)->Maximize(arg2
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 Py_INCREF(Py_None
); resultobj
= Py_None
;
2506 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2509 PyObject
* obj0
= 0 ;
2511 (char *) "self", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2533 bool arg2
= (bool) TRUE
;
2534 PyObject
* obj0
= 0 ;
2535 PyObject
* obj1
= 0 ;
2537 (char *) "self",(char *) "iconize", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2543 arg2
= PyInt_AsLong(obj1
) ? true : false;
2544 if (PyErr_Occurred()) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 (arg1
)->Iconize(arg2
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2553 Py_INCREF(Py_None
); resultobj
= Py_None
;
2560 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2564 PyObject
* obj0
= 0 ;
2566 (char *) "self", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 resultobj
= PyInt_FromLong((long)result
);
2585 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2587 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2591 (char *) "self", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 resultobj
= PyInt_FromLong((long)result
);
2610 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2630 resultptr
= new wxIcon((wxIcon
&) result
);
2631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2639 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2644 PyObject
* obj1
= 0 ;
2646 (char *) "self",(char *) "icon", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2672 wxIconBundle
*arg2
= 0 ;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2676 (char *) "self",(char *) "icons", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2683 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2703 long arg3
= (long) wxFULLSCREEN_ALL
;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2708 (char *) "self",(char *) "show",(char *) "style", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2713 arg2
= PyInt_AsLong(obj1
) ? true : false;
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= PyInt_FromLong((long)result
);
2729 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2733 PyObject
* obj0
= 0 ;
2735 (char *) "self", NULL
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 resultobj
= PyInt_FromLong((long)result
);
2754 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2757 wxString
*arg2
= 0 ;
2758 bool temp2
= false ;
2759 PyObject
* obj0
= 0 ;
2760 PyObject
* obj1
= 0 ;
2762 (char *) "self",(char *) "title", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2768 arg2
= wxString_in_helper(obj1
);
2769 if (arg2
== NULL
) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 (arg1
)->SetTitle((wxString
const &)*arg2
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2794 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2798 PyObject
* obj0
= 0 ;
2800 (char *) "self", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2825 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
;
2827 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2828 wxRegion
*arg2
= 0 ;
2830 PyObject
* obj0
= 0 ;
2831 PyObject
* obj1
= 0 ;
2833 (char *) "self",(char *) "region", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2838 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2840 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 resultobj
= PyInt_FromLong((long)result
);
2856 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2861 return Py_BuildValue((char *)"");
2863 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxWindow
*arg1
= (wxWindow
*) 0 ;
2867 wxString
*arg3
= 0 ;
2868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2872 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2873 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2876 bool temp3
= false ;
2879 bool temp7
= false ;
2880 PyObject
* obj0
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2883 PyObject
* obj4
= 0 ;
2884 PyObject
* obj6
= 0 ;
2886 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2892 arg3
= wxString_in_helper(obj2
);
2893 if (arg3
== NULL
) SWIG_fail
;
2899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2910 arg7
= wxString_in_helper(obj6
);
2911 if (arg7
== NULL
) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2923 resultobj
= wxPyMake_wxObject(result
);
2947 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 result
= (wxFrame
*)new wxFrame();
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2963 resultobj
= wxPyMake_wxObject(result
);
2971 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
*resultobj
;
2973 wxFrame
*arg1
= (wxFrame
*) 0 ;
2974 wxWindow
*arg2
= (wxWindow
*) 0 ;
2976 wxString
*arg4
= 0 ;
2977 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2978 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2979 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2980 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2981 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2982 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2983 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2985 bool temp4
= false ;
2988 bool temp8
= false ;
2989 PyObject
* obj0
= 0 ;
2990 PyObject
* obj1
= 0 ;
2991 PyObject
* obj3
= 0 ;
2992 PyObject
* obj4
= 0 ;
2993 PyObject
* obj5
= 0 ;
2994 PyObject
* obj7
= 0 ;
2996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3003 arg4
= wxString_in_helper(obj3
);
3004 if (arg4
== NULL
) SWIG_fail
;
3010 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3016 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3021 arg8
= wxString_in_helper(obj7
);
3022 if (arg8
== NULL
) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= PyInt_FromLong((long)result
);
3056 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxFrame
*arg1
= (wxFrame
*) 0 ;
3060 PyObject
* obj0
= 0 ;
3062 (char *) "self", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3075 wxPoint
* resultptr
;
3076 resultptr
= new wxPoint((wxPoint
&) result
);
3077 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3085 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxFrame
*arg1
= (wxFrame
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3090 (char *) "self", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 (arg1
)->SendSizeEvent();
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3102 Py_INCREF(Py_None
); resultobj
= Py_None
;
3109 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxFrame
*arg1
= (wxFrame
*) 0 ;
3112 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3116 (char *) "self",(char *) "menubar", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 (arg1
)->SetMenuBar(arg2
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 Py_INCREF(Py_None
); resultobj
= Py_None
;
3136 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxFrame
*arg1
= (wxFrame
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3142 (char *) "self", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 resultobj
= wxPyMake_wxObject(result
);
3163 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxFrame
*arg1
= (wxFrame
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self",(char *) "winid", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= PyInt_FromLong((long)result
);
3189 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxFrame
*arg1
= (wxFrame
*) 0 ;
3192 int arg2
= (int) 1 ;
3193 long arg3
= (long) wxST_SIZEGRIP
;
3194 wxWindowID arg4
= (wxWindowID
) 0 ;
3195 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3196 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3197 wxStatusBar
*result
;
3198 bool temp5
= false ;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj4
= 0 ;
3202 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
3206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3209 arg5
= wxString_in_helper(obj4
);
3210 if (arg5
== NULL
) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= wxPyMake_wxObject(result
);
3238 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxFrame
*arg1
= (wxFrame
*) 0 ;
3241 wxStatusBar
*result
;
3242 PyObject
* obj0
= 0 ;
3244 (char *) "self", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= wxPyMake_wxObject(result
);
3265 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxFrame
*arg1
= (wxFrame
*) 0 ;
3268 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3272 (char *) "self",(char *) "statBar", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 (arg1
)->SetStatusBar(arg2
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3285 Py_INCREF(Py_None
); resultobj
= Py_None
;
3292 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxFrame
*arg1
= (wxFrame
*) 0 ;
3295 wxString
*arg2
= 0 ;
3296 int arg3
= (int) 0 ;
3297 bool temp2
= false ;
3298 PyObject
* obj0
= 0 ;
3299 PyObject
* obj1
= 0 ;
3301 (char *) "self",(char *) "text",(char *) "number", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3307 arg2
= wxString_in_helper(obj1
);
3308 if (arg2
== NULL
) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 Py_INCREF(Py_None
); resultobj
= Py_None
;
3333 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxFrame
*arg1
= (wxFrame
*) 0 ;
3337 int *arg3
= (int *) 0 ;
3338 PyObject
* obj0
= 0 ;
3339 PyObject
* obj1
= 0 ;
3341 (char *) "self",(char *) "widths", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3347 arg2
= PyList_Size(obj1
);
3348 arg3
= int_LIST_helper(obj1
);
3349 if (arg3
== NULL
) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 if (arg3
) delete [] arg3
;
3365 if (arg3
) delete [] arg3
;
3371 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxFrame
*arg1
= (wxFrame
*) 0 ;
3374 wxString
*arg2
= 0 ;
3375 int arg3
= (int) 0 ;
3376 bool temp2
= false ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3380 (char *) "self",(char *) "text",(char *) "number", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3386 arg2
= wxString_in_helper(obj1
);
3387 if (arg2
== NULL
) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 Py_INCREF(Py_None
); resultobj
= Py_None
;
3412 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxFrame
*arg1
= (wxFrame
*) 0 ;
3415 int arg2
= (int) 0 ;
3416 PyObject
* obj0
= 0 ;
3418 (char *) "self",(char *) "number", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 (arg1
)->PopStatusText(arg2
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 Py_INCREF(Py_None
); resultobj
= Py_None
;
3437 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxFrame
*arg1
= (wxFrame
*) 0 ;
3441 PyObject
* obj0
= 0 ;
3443 (char *) "self",(char *) "n", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 (arg1
)->SetStatusBarPane(arg2
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxFrame
*arg1
= (wxFrame
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3468 (char *) "self", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= PyInt_FromLong((long)result
);
3487 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxFrame
*arg1
= (wxFrame
*) 0 ;
3490 long arg2
= (long) -1 ;
3491 wxWindowID arg3
= (wxWindowID
) -1 ;
3492 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3493 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3495 bool temp4
= false ;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj3
= 0 ;
3499 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3506 arg4
= wxString_in_helper(obj3
);
3507 if (arg4
== NULL
) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= wxPyMake_wxObject(result
);
3535 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
;
3537 wxFrame
*arg1
= (wxFrame
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3541 (char *) "self", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= wxPyMake_wxObject(result
);
3562 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3564 wxFrame
*arg1
= (wxFrame
*) 0 ;
3565 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3566 PyObject
* obj0
= 0 ;
3567 PyObject
* obj1
= 0 ;
3569 (char *) "self",(char *) "toolbar", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 (arg1
)->SetToolBar(arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 Py_INCREF(Py_None
); resultobj
= Py_None
;
3589 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxFrame
*arg1
= (wxFrame
*) 0 ;
3592 wxString
*arg2
= 0 ;
3594 bool temp2
= false ;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3597 PyObject
* obj2
= 0 ;
3599 (char *) "self",(char *) "text",(char *) "show", NULL
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3605 arg2
= wxString_in_helper(obj1
);
3606 if (arg2
== NULL
) SWIG_fail
;
3609 arg3
= PyInt_AsLong(obj2
) ? true : false;
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 Py_INCREF(Py_None
); resultobj
= Py_None
;
3633 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxFrame
*arg1
= (wxFrame
*) 0 ;
3636 wxMenu
*arg2
= (wxMenu
*) NULL
;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3640 (char *) "self",(char *) "menu", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 (arg1
)->DoMenuUpdates(arg2
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3665 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3667 return Py_BuildValue((char *)"");
3669 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxWindow
*arg1
= (wxWindow
*) 0 ;
3673 wxString
*arg3
= 0 ;
3674 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3675 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3676 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3677 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3678 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3679 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3680 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3682 bool temp3
= false ;
3685 bool temp7
= false ;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj2
= 0 ;
3688 PyObject
* obj3
= 0 ;
3689 PyObject
* obj4
= 0 ;
3690 PyObject
* obj6
= 0 ;
3692 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3698 arg3
= wxString_in_helper(obj2
);
3699 if (arg3
== NULL
) SWIG_fail
;
3705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3716 arg7
= wxString_in_helper(obj6
);
3717 if (arg7
== NULL
) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3751 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 result
= (wxDialog
*)new wxDialog();
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3773 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxDialog
*arg1
= (wxDialog
*) 0 ;
3776 wxWindow
*arg2
= (wxWindow
*) 0 ;
3778 wxString
*arg4
= 0 ;
3779 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3780 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3781 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3782 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3783 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3784 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3787 bool temp4
= false ;
3790 bool temp8
= false ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3793 PyObject
* obj3
= 0 ;
3794 PyObject
* obj4
= 0 ;
3795 PyObject
* obj5
= 0 ;
3796 PyObject
* obj7
= 0 ;
3798 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3805 arg4
= wxString_in_helper(obj3
);
3806 if (arg4
== NULL
) SWIG_fail
;
3812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3823 arg8
= wxString_in_helper(obj7
);
3824 if (arg8
== NULL
) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= PyInt_FromLong((long)result
);
3858 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxDialog
*arg1
= (wxDialog
*) 0 ;
3862 PyObject
* obj0
= 0 ;
3864 (char *) "self",(char *) "returnCode", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 (arg1
)->SetReturnCode(arg2
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxDialog
*arg1
= (wxDialog
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= PyInt_FromLong((long)result
);
3908 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxDialog
*arg1
= (wxDialog
*) 0 ;
3911 wxString
*arg2
= 0 ;
3913 bool temp2
= false ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3917 (char *) "self",(char *) "message", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3923 arg2
= wxString_in_helper(obj1
);
3924 if (arg2
== NULL
) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= wxPyMake_wxSizer(result
);
3951 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 wxDialog
*arg1
= (wxDialog
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3958 (char *) "self",(char *) "flags", NULL
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= wxPyMake_wxSizer(result
);
3979 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxDialog
*arg1
= (wxDialog
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3984 PyObject
* obj1
= 0 ;
3986 (char *) "self",(char *) "flag", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3991 arg2
= PyInt_AsLong(obj1
) ? true : false;
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 (arg1
)->SetModal(arg2
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 Py_INCREF(Py_None
); resultobj
= Py_None
;
4007 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxDialog
*arg1
= (wxDialog
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4013 (char *) "self", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= PyInt_FromLong((long)result
);
4032 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxDialog
*arg1
= (wxDialog
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (int)(arg1
)->ShowModal();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= PyInt_FromLong((long)result
);
4057 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxDialog
*arg1
= (wxDialog
*) 0 ;
4061 PyObject
* obj0
= 0 ;
4063 (char *) "self",(char *) "retCode", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
4067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 (arg1
)->EndModal(arg2
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 Py_INCREF(Py_None
); resultobj
= Py_None
;
4082 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxDialog
*arg1
= (wxDialog
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4088 (char *) "self", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (bool)wxDialog_IsModalShowing(arg1
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= PyInt_FromLong((long)result
);
4107 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4110 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4112 return Py_BuildValue((char *)"");
4114 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxWindow
*arg1
= (wxWindow
*) 0 ;
4118 wxString
*arg3
= 0 ;
4119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4123 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4124 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4125 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4126 wxMiniFrame
*result
;
4127 bool temp3
= false ;
4130 bool temp7
= false ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj2
= 0 ;
4133 PyObject
* obj3
= 0 ;
4134 PyObject
* obj4
= 0 ;
4135 PyObject
* obj6
= 0 ;
4137 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4143 arg3
= wxString_in_helper(obj2
);
4144 if (arg3
== NULL
) SWIG_fail
;
4150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4161 arg7
= wxString_in_helper(obj6
);
4162 if (arg7
== NULL
) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4196 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxMiniFrame
*result
;
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (wxMiniFrame
*)new wxMiniFrame();
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4218 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4221 wxWindow
*arg2
= (wxWindow
*) 0 ;
4223 wxString
*arg4
= 0 ;
4224 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4225 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4226 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4227 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4228 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4229 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4232 bool temp4
= false ;
4235 bool temp8
= false ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 PyObject
* obj3
= 0 ;
4239 PyObject
* obj4
= 0 ;
4240 PyObject
* obj5
= 0 ;
4241 PyObject
* obj7
= 0 ;
4243 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4250 arg4
= wxString_in_helper(obj3
);
4251 if (arg4
== NULL
) SWIG_fail
;
4257 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4263 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4268 arg8
= wxString_in_helper(obj7
);
4269 if (arg8
== NULL
) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= PyInt_FromLong((long)result
);
4303 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4306 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4308 return Py_BuildValue((char *)"");
4310 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxBitmap
*arg1
= 0 ;
4313 wxWindow
*arg2
= (wxWindow
*) 0 ;
4315 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4316 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4317 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4318 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4319 long arg6
= (long) wxNO_BORDER
;
4320 wxSplashScreenWindow
*result
;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4325 PyObject
* obj3
= 0 ;
4326 PyObject
* obj4
= 0 ;
4328 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
4332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4334 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4340 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4346 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4363 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4366 wxBitmap
*arg2
= 0 ;
4367 PyObject
* obj0
= 0 ;
4368 PyObject
* obj1
= 0 ;
4370 (char *) "self",(char *) "bitmap", NULL
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 Py_INCREF(Py_None
); resultobj
= Py_None
;
4393 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4399 (char *) "self", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4408 result
= (wxBitmap
*) &_result_ref
;
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4421 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4424 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4426 return Py_BuildValue((char *)"");
4428 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxBitmap
*arg1
= 0 ;
4433 wxWindow
*arg4
= (wxWindow
*) 0 ;
4435 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4436 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4437 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4438 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4439 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4440 wxSplashScreen
*result
;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj3
= 0 ;
4445 PyObject
* obj5
= 0 ;
4446 PyObject
* obj6
= 0 ;
4448 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4456 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4460 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4466 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4483 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4489 (char *) "self", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= PyInt_FromLong((long)result
);
4508 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4511 wxSplashScreenWindow
*result
;
4512 PyObject
* obj0
= 0 ;
4514 (char *) "self", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4533 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "self", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= PyInt_FromLong((long)result
);
4558 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4561 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4563 return Py_BuildValue((char *)"");
4565 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxWindow
*arg1
= (wxWindow
*) 0 ;
4568 wxWindowID arg2
= (wxWindowID
) -1 ;
4569 long arg3
= (long) wxST_SIZEGRIP
;
4570 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4572 wxStatusBar
*result
;
4573 bool temp4
= false ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj3
= 0 ;
4577 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4584 arg4
= wxString_in_helper(obj3
);
4585 if (arg4
== NULL
) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= wxPyMake_wxObject(result
);
4613 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxStatusBar
*result
;
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxStatusBar
*)new wxStatusBar();
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= wxPyMake_wxObject(result
);
4637 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4640 wxWindow
*arg2
= (wxWindow
*) 0 ;
4642 long arg4
= (long) wxST_SIZEGRIP
;
4643 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4644 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4646 bool temp5
= false ;
4647 PyObject
* obj0
= 0 ;
4648 PyObject
* obj1
= 0 ;
4649 PyObject
* obj4
= 0 ;
4651 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4656 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4659 arg5
= wxString_in_helper(obj4
);
4660 if (arg5
== NULL
) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= PyInt_FromLong((long)result
);
4686 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
*resultobj
;
4688 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4689 int arg2
= (int) 1 ;
4690 PyObject
* obj0
= 0 ;
4692 (char *) "self",(char *) "number", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 (arg1
)->SetFieldsCount(arg2
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 Py_INCREF(Py_None
); resultobj
= Py_None
;
4711 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4717 (char *) "self", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= PyInt_FromLong((long)result
);
4736 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4739 wxString
*arg2
= 0 ;
4740 int arg3
= (int) 0 ;
4741 bool temp2
= false ;
4742 PyObject
* obj0
= 0 ;
4743 PyObject
* obj1
= 0 ;
4745 (char *) "self",(char *) "text",(char *) "number", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4751 arg2
= wxString_in_helper(obj1
);
4752 if (arg2
== NULL
) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 Py_INCREF(Py_None
); resultobj
= Py_None
;
4777 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4780 int arg2
= (int) 0 ;
4782 PyObject
* obj0
= 0 ;
4784 (char *) "self",(char *) "number", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4809 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4812 wxString
*arg2
= 0 ;
4813 int arg3
= (int) 0 ;
4814 bool temp2
= false ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4818 (char *) "self",(char *) "text",(char *) "number", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4824 arg2
= wxString_in_helper(obj1
);
4825 if (arg2
== NULL
) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 Py_INCREF(Py_None
); resultobj
= Py_None
;
4850 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4853 int arg2
= (int) 0 ;
4854 PyObject
* obj0
= 0 ;
4856 (char *) "self",(char *) "number", NULL
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 (arg1
)->PopStatusText(arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 Py_INCREF(Py_None
); resultobj
= Py_None
;
4875 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4879 int *arg3
= (int *) 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "self",(char *) "widths", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4889 arg2
= PyList_Size(obj1
);
4890 arg3
= int_LIST_helper(obj1
);
4891 if (arg3
== NULL
) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 if (arg3
) delete [] arg3
;
4907 if (arg3
) delete [] arg3
;
4913 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj2
= 0 ;
4923 (char *) "self",(char *) "i",(char *) "rect", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4930 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (bool)((wxStatusBar
const *)arg1
)->GetFieldRect(arg2
,*arg3
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= PyInt_FromLong((long)result
);
4946 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4950 PyObject
* obj0
= 0 ;
4952 (char *) "self",(char *) "height", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 (arg1
)->SetMinHeight(arg2
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4977 (char *) "self", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= PyInt_FromLong((long)result
);
4996 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= PyInt_FromLong((long)result
);
5021 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5024 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5026 return Py_BuildValue((char *)"");
5028 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxWindow
*arg1
= (wxWindow
*) 0 ;
5032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5036 long arg5
= (long) wxSP_3D
;
5037 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5038 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5039 wxSplitterWindow
*result
;
5042 bool temp6
= false ;
5043 PyObject
* obj0
= 0 ;
5044 PyObject
* obj2
= 0 ;
5045 PyObject
* obj3
= 0 ;
5046 PyObject
* obj5
= 0 ;
5048 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5067 arg6
= wxString_in_helper(obj5
);
5068 if (arg6
== NULL
) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5094 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxSplitterWindow
*result
;
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5116 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5119 wxWindow
*arg2
= (wxWindow
*) 0 ;
5121 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5122 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5123 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5124 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5125 long arg6
= (long) wxSP_3D
;
5126 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5127 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5131 bool temp7
= false ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5134 PyObject
* obj3
= 0 ;
5135 PyObject
* obj4
= 0 ;
5136 PyObject
* obj6
= 0 ;
5138 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5158 arg7
= wxString_in_helper(obj6
);
5159 if (arg7
== NULL
) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= PyInt_FromLong((long)result
);
5185 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= wxPyMake_wxObject(result
);
5212 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5216 PyObject
* obj0
= 0 ;
5218 (char *) "self", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= wxPyMake_wxObject(result
);
5239 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5245 (char *) "self",(char *) "mode", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 (arg1
)->SetSplitMode(arg2
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 Py_INCREF(Py_None
); resultobj
= Py_None
;
5264 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5270 (char *) "self", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= PyInt_FromLong((long)result
);
5289 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5292 wxWindow
*arg2
= (wxWindow
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5296 (char *) "self",(char *) "window", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 (arg1
)->Initialize(arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 Py_INCREF(Py_None
); resultobj
= Py_None
;
5316 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5319 wxWindow
*arg2
= (wxWindow
*) 0 ;
5320 wxWindow
*arg3
= (wxWindow
*) 0 ;
5321 int arg4
= (int) 0 ;
5323 PyObject
* obj0
= 0 ;
5324 PyObject
* obj1
= 0 ;
5325 PyObject
* obj2
= 0 ;
5327 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= PyInt_FromLong((long)result
);
5348 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5351 wxWindow
*arg2
= (wxWindow
*) 0 ;
5352 wxWindow
*arg3
= (wxWindow
*) 0 ;
5353 int arg4
= (int) 0 ;
5355 PyObject
* obj0
= 0 ;
5356 PyObject
* obj1
= 0 ;
5357 PyObject
* obj2
= 0 ;
5359 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5365 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= PyInt_FromLong((long)result
);
5380 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5383 wxWindow
*arg2
= (wxWindow
*) NULL
;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "toRemove", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)(arg1
)->Unsplit(arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= PyInt_FromLong((long)result
);
5410 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5413 wxWindow
*arg2
= (wxWindow
*) 0 ;
5414 wxWindow
*arg3
= (wxWindow
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5418 PyObject
* obj2
= 0 ;
5420 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5426 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= PyInt_FromLong((long)result
);
5441 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5447 (char *) "self", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= PyInt_FromLong((long)result
);
5466 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self",(char *) "width", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 (arg1
)->SetSashSize(arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5495 PyObject
* obj0
= 0 ;
5497 (char *) "self",(char *) "width", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 (arg1
)->SetBorderSize(arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 Py_INCREF(Py_None
); resultobj
= Py_None
;
5516 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5522 (char *) "self", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= PyInt_FromLong((long)result
);
5541 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5547 (char *) "self", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= PyInt_FromLong((long)result
);
5566 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5570 bool arg3
= (bool) TRUE
;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj2
= 0 ;
5574 (char *) "self",(char *) "position",(char *) "redraw", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5580 arg3
= PyInt_AsLong(obj2
) ? true : false;
5581 if (PyErr_Occurred()) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->SetSashPosition(arg2
,arg3
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "self", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= PyInt_FromLong((long)result
);
5622 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5628 (char *) "self",(char *) "min", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->SetMinimumPaneSize(arg2
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5653 (char *) "self", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= PyInt_FromLong((long)result
);
5672 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5677 int arg4
= (int) 5 ;
5679 PyObject
* obj0
= 0 ;
5681 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= PyInt_FromLong((long)result
);
5700 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5705 (char *) "self", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 (arg1
)->SizeWindows();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 Py_INCREF(Py_None
); resultobj
= Py_None
;
5724 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5731 (char *) "self",(char *) "needUpdating", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5736 arg2
= PyInt_AsLong(obj1
) ? true : false;
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 (arg1
)->SetNeedUpdating(arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 Py_INCREF(Py_None
); resultobj
= Py_None
;
5752 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5758 (char *) "self", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= PyInt_FromLong((long)result
);
5777 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5780 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5782 return Py_BuildValue((char *)"");
5784 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5787 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5788 wxSplitterEvent
*result
;
5789 PyObject
* obj1
= 0 ;
5791 (char *) "type",(char *) "splitter", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5812 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5818 (char *) "self",(char *) "pos", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->SetSashPosition(arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 Py_INCREF(Py_None
); resultobj
= Py_None
;
5837 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5843 (char *) "self", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= PyInt_FromLong((long)result
);
5862 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "self", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= wxPyMake_wxObject(result
);
5889 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5895 (char *) "self", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= PyInt_FromLong((long)result
);
5914 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5920 (char *) "self", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= PyInt_FromLong((long)result
);
5939 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5942 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5944 return Py_BuildValue((char *)"");
5946 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxWindow
*arg1
= (wxWindow
*) 0 ;
5950 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5951 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5952 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5953 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5954 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5955 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5956 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5957 wxSashWindow
*result
;
5960 bool temp6
= false ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj2
= 0 ;
5963 PyObject
* obj3
= 0 ;
5964 PyObject
* obj5
= 0 ;
5966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5974 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5980 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5985 arg6
= wxString_in_helper(obj5
);
5986 if (arg6
== NULL
) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6012 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxSashWindow
*result
;
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxSashWindow
*)new wxSashWindow();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6034 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6037 wxWindow
*arg2
= (wxWindow
*) 0 ;
6039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6043 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6044 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6045 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6049 bool temp7
= false ;
6050 PyObject
* obj0
= 0 ;
6051 PyObject
* obj1
= 0 ;
6052 PyObject
* obj3
= 0 ;
6053 PyObject
* obj4
= 0 ;
6054 PyObject
* obj6
= 0 ;
6056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6076 arg7
= wxString_in_helper(obj6
);
6077 if (arg7
== NULL
) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= PyInt_FromLong((long)result
);
6103 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj2
= 0 ;
6111 (char *) "self",(char *) "edge",(char *) "sash", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6116 arg3
= PyInt_AsLong(obj2
) ? true : false;
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6139 (char *) "self",(char *) "edge", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= PyInt_FromLong((long)result
);
6158 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj2
= 0 ;
6166 (char *) "self",(char *) "edge",(char *) "border", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6171 arg3
= PyInt_AsLong(obj2
) ? true : false;
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 Py_INCREF(Py_None
); resultobj
= Py_None
;
6187 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self",(char *) "edge", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= PyInt_FromLong((long)result
);
6213 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6218 PyObject
* obj0
= 0 ;
6220 (char *) "self",(char *) "edge", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= PyInt_FromLong((long)result
);
6239 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6245 (char *) "self",(char *) "width", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 (arg1
)->SetDefaultBorderSize(arg2
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 Py_INCREF(Py_None
); resultobj
= Py_None
;
6264 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6270 (char *) "self", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= PyInt_FromLong((long)result
);
6289 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6295 (char *) "self",(char *) "width", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 (arg1
)->SetExtraBorderSize(arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= PyInt_FromLong((long)result
);
6339 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self",(char *) "min", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 (arg1
)->SetMinimumSizeX(arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 Py_INCREF(Py_None
); resultobj
= Py_None
;
6364 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self",(char *) "min", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 (arg1
)->SetMinimumSizeY(arg2
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 Py_INCREF(Py_None
); resultobj
= Py_None
;
6389 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= PyInt_FromLong((long)result
);
6414 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6420 (char *) "self", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= PyInt_FromLong((long)result
);
6439 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self",(char *) "max", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->SetMaximumSizeX(arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self",(char *) "max", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 (arg1
)->SetMaximumSizeY(arg2
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6489 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= PyInt_FromLong((long)result
);
6514 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "self", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= PyInt_FromLong((long)result
);
6539 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6544 int arg4
= (int) 2 ;
6546 PyObject
* obj0
= 0 ;
6548 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= PyInt_FromLong((long)result
);
6567 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "self", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->SizeWindows();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6594 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6596 return Py_BuildValue((char *)"");
6598 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 int arg1
= (int) 0 ;
6601 int arg2
= (int) wxSASH_NONE
;
6602 wxSashEvent
*result
;
6604 (char *) "id",(char *) "edge", NULL
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6622 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6628 (char *) "self",(char *) "edge", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= PyInt_FromLong((long)result
);
6672 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6680 (char *) "self",(char *) "rect", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6687 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6707 PyObject
* obj0
= 0 ;
6709 (char *) "self", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6723 resultptr
= new wxRect((wxRect
&) result
);
6724 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6732 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self",(char *) "status", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 Py_INCREF(Py_None
); resultobj
= Py_None
;
6757 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= PyInt_FromLong((long)result
);
6782 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6785 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6787 return Py_BuildValue((char *)"");
6789 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxWindowID arg1
= (wxWindowID
) 0 ;
6792 wxQueryLayoutInfoEvent
*result
;
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6812 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6818 (char *) "self",(char *) "length", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 (arg1
)->SetRequestedLength(arg2
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 Py_INCREF(Py_None
); resultobj
= Py_None
;
6837 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6841 PyObject
* obj0
= 0 ;
6843 (char *) "self", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= PyInt_FromLong((long)result
);
6862 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6868 (char *) "self",(char *) "flags", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 (arg1
)->SetFlags(arg2
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 Py_INCREF(Py_None
); resultobj
= Py_None
;
6887 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6891 PyObject
* obj0
= 0 ;
6893 (char *) "self", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= PyInt_FromLong((long)result
);
6912 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "size", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6927 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 (arg1
)->SetSize((wxSize
const &)*arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6963 resultptr
= new wxSize((wxSize
&) result
);
6964 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6972 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6978 (char *) "self",(char *) "orient", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 Py_INCREF(Py_None
); resultobj
= Py_None
;
6997 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= PyInt_FromLong((long)result
);
7022 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self",(char *) "align", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= PyInt_FromLong((long)result
);
7072 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7075 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7077 return Py_BuildValue((char *)"");
7079 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxWindowID arg1
= (wxWindowID
) 0 ;
7082 wxCalculateLayoutEvent
*result
;
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7102 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self",(char *) "flags", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 (arg1
)->SetFlags(arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 Py_INCREF(Py_None
); resultobj
= Py_None
;
7127 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "self", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= PyInt_FromLong((long)result
);
7152 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7160 (char *) "self",(char *) "rect", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7167 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 (arg1
)->SetRect((wxRect
const &)*arg2
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "self", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7203 resultptr
= new wxRect((wxRect
&) result
);
7204 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7212 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7215 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7217 return Py_BuildValue((char *)"");
7219 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxWindow
*arg1
= (wxWindow
*) 0 ;
7223 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7224 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7225 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7226 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7227 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7228 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7229 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7230 wxSashLayoutWindow
*result
;
7233 bool temp6
= false ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj2
= 0 ;
7236 PyObject
* obj3
= 0 ;
7237 PyObject
* obj5
= 0 ;
7239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7247 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7253 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7258 arg6
= wxString_in_helper(obj5
);
7259 if (arg6
== NULL
) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7285 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxSashLayoutWindow
*result
;
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7307 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7310 wxWindow
*arg2
= (wxWindow
*) 0 ;
7312 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7313 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7314 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7315 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7316 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7317 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7318 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7322 bool temp7
= false ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7325 PyObject
* obj3
= 0 ;
7326 PyObject
* obj4
= 0 ;
7327 PyObject
* obj6
= 0 ;
7329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7349 arg7
= wxString_in_helper(obj6
);
7350 if (arg7
== NULL
) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= PyInt_FromLong((long)result
);
7376 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "self", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (int)(arg1
)->GetAlignment();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= PyInt_FromLong((long)result
);
7401 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 result
= (int)(arg1
)->GetOrientation();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= PyInt_FromLong((long)result
);
7426 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7430 PyObject
* obj0
= 0 ;
7432 (char *) "self",(char *) "alignment", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 Py_INCREF(Py_None
); resultobj
= Py_None
;
7451 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7453 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7459 (char *) "self",(char *) "size", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7466 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7486 PyObject
* obj0
= 0 ;
7488 (char *) "self",(char *) "orientation", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 Py_INCREF(Py_None
); resultobj
= Py_None
;
7507 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7510 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7512 return Py_BuildValue((char *)"");
7514 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxLayoutAlgorithm
*result
;
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7536 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "self", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 Py_INCREF(Py_None
); resultobj
= Py_None
;
7560 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7563 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7564 wxRect
*arg3
= (wxRect
*) NULL
;
7566 PyObject
* obj0
= 0 ;
7567 PyObject
* obj1
= 0 ;
7568 PyObject
* obj2
= 0 ;
7570 (char *) "self",(char *) "frame",(char *) "rect", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7577 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= PyInt_FromLong((long)result
);
7593 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7596 wxFrame
*arg2
= (wxFrame
*) 0 ;
7597 wxWindow
*arg3
= (wxWindow
*) NULL
;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7603 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7610 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= PyInt_FromLong((long)result
);
7626 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7629 wxWindow
*arg2
= (wxWindow
*) 0 ;
7630 wxWindow
*arg3
= (wxWindow
*) NULL
;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7634 PyObject
* obj2
= 0 ;
7636 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7643 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= PyInt_FromLong((long)result
);
7659 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7662 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7664 return Py_BuildValue((char *)"");
7666 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxWindow
*arg1
= (wxWindow
*) 0 ;
7669 int arg2
= (int) wxBORDER_NONE
;
7670 wxPopupWindow
*result
;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "parent",(char *) "flags", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7692 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxPopupWindow
*result
;
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (wxPopupWindow
*)new wxPopupWindow();
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7714 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7717 wxWindow
*arg2
= (wxWindow
*) 0 ;
7718 int arg3
= (int) wxBORDER_NONE
;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "self",(char *) "parent",(char *) "flags", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= PyInt_FromLong((long)result
);
7743 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7752 PyObject
* obj2
= 0 ;
7754 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7761 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7765 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7781 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7784 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7786 return Py_BuildValue((char *)"");
7788 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxWindow
*arg1
= (wxWindow
*) 0 ;
7791 int arg2
= (int) wxBORDER_NONE
;
7792 wxPyPopupTransientWindow
*result
;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "parent",(char *) "style", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7814 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxPyPopupTransientWindow
*result
;
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7836 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7839 PyObject
*arg2
= (PyObject
*) 0 ;
7840 PyObject
*arg3
= (PyObject
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7843 PyObject
* obj2
= 0 ;
7845 (char *) "self",(char *) "self",(char *) "_class", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 Py_INCREF(Py_None
); resultobj
= Py_None
;
7866 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7869 wxWindow
*arg2
= (wxWindow
*) NULL
;
7870 PyObject
* obj0
= 0 ;
7871 PyObject
* obj1
= 0 ;
7873 (char *) "self",(char *) "focus", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 (arg1
)->Popup(arg2
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7919 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7922 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7924 return Py_BuildValue((char *)"");
7926 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxWindow
*arg1
= (wxWindow
*) 0 ;
7929 wxString
*arg2
= (wxString
*) 0 ;
7930 wxCoord arg3
= (wxCoord
) 100 ;
7931 wxRect
*arg4
= (wxRect
*) NULL
;
7932 wxTipWindow
*result
;
7933 PyObject
* obj0
= 0 ;
7934 PyObject
* obj1
= 0 ;
7935 PyObject
* obj3
= 0 ;
7937 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7944 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const *)arg2
,arg3
,arg4
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7960 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7968 (char *) "self",(char *) "rectBound", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7975 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7996 (char *) "self", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8020 return Py_BuildValue((char *)"");
8022 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxWindow
*arg1
= (wxWindow
*) 0 ;
8025 wxWindowID arg2
= (wxWindowID
) wxID_ANY
;
8026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8030 long arg5
= (long) 0 ;
8031 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8032 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8033 wxPyVScrolledWindow
*result
;
8036 bool temp6
= false ;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj2
= 0 ;
8039 PyObject
* obj3
= 0 ;
8040 PyObject
* obj5
= 0 ;
8042 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8061 arg6
= wxString_in_helper(obj5
);
8062 if (arg6
== NULL
) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8088 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxPyVScrolledWindow
*result
;
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8110 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8113 PyObject
*arg2
= (PyObject
*) 0 ;
8114 PyObject
*arg3
= (PyObject
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8117 PyObject
* obj2
= 0 ;
8119 (char *) "self",(char *) "self",(char *) "_class", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 Py_INCREF(Py_None
); resultobj
= Py_None
;
8140 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8143 wxWindow
*arg2
= (wxWindow
*) 0 ;
8144 wxWindowID arg3
= (wxWindowID
) wxID_ANY
;
8145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8149 long arg6
= (long) 0 ;
8150 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8151 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8155 bool temp7
= false ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8158 PyObject
* obj3
= 0 ;
8159 PyObject
* obj4
= 0 ;
8160 PyObject
* obj6
= 0 ;
8162 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8171 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8177 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8182 arg7
= wxString_in_helper(obj6
);
8183 if (arg7
== NULL
) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= PyInt_FromLong((long)result
);
8209 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8216 (char *) "self",(char *) "count", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8221 arg2
= (size_t) PyInt_AsLong(obj1
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 (arg1
)->SetLineCount(arg2
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 Py_INCREF(Py_None
); resultobj
= Py_None
;
8237 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8245 (char *) "self",(char *) "line", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8250 arg2
= (size_t) PyInt_AsLong(obj1
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= PyInt_FromLong((long)result
);
8266 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8271 PyObject
* obj0
= 0 ;
8273 (char *) "self",(char *) "lines", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
8277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->ScrollLines(arg2
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= PyInt_FromLong((long)result
);
8292 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self",(char *) "pages", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (bool)(arg1
)->ScrollPages(arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= PyInt_FromLong((long)result
);
8318 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "line", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 arg2
= (size_t) PyInt_AsLong(obj1
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 (arg1
)->RefreshLine(arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8346 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8355 (char *) "self",(char *) "from",(char *) "to", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8360 arg2
= (size_t) PyInt_AsLong(obj1
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8362 arg3
= (size_t) PyInt_AsLong(obj2
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 (arg1
)->RefreshLines(arg2
,arg3
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "self",(char *) "x",(char *) "y", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= PyInt_FromLong((long)result
);
8405 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8414 (char *) "self",(char *) "pt", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= PyInt_FromLong((long)result
);
8437 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 (arg1
)->RefreshAll();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 Py_INCREF(Py_None
); resultobj
= Py_None
;
8461 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "self", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= PyInt_FromLong((long)result
);
8486 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8492 (char *) "self", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= PyInt_FromLong((long)result
);
8511 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= PyInt_FromLong((long)result
);
8536 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8544 (char *) "self",(char *) "line", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8549 arg2
= (size_t) PyInt_AsLong(obj1
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= PyInt_FromLong((long)result
);
8565 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8568 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8570 return Py_BuildValue((char *)"");
8572 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxWindow
*arg1
= (wxWindow
*) 0 ;
8575 wxWindowID arg2
= (wxWindowID
) wxID_ANY
;
8576 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8577 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8578 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8579 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8580 long arg5
= (long) 0 ;
8581 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8582 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8583 wxPyVListBox
*result
;
8586 bool temp6
= false ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 PyObject
* obj3
= 0 ;
8590 PyObject
* obj5
= 0 ;
8592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8611 arg6
= wxString_in_helper(obj5
);
8612 if (arg6
== NULL
) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8638 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxPyVListBox
*result
;
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (wxPyVListBox
*)new wxPyVListBox();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8660 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8663 PyObject
*arg2
= (PyObject
*) 0 ;
8664 PyObject
*arg3
= (PyObject
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8667 PyObject
* obj2
= 0 ;
8669 (char *) "self",(char *) "self",(char *) "_class", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8693 wxWindow
*arg2
= (wxWindow
*) 0 ;
8694 wxWindowID arg3
= (wxWindowID
) wxID_ANY
;
8695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8699 long arg6
= (long) 0 ;
8700 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8705 bool temp7
= false ;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8708 PyObject
* obj3
= 0 ;
8709 PyObject
* obj4
= 0 ;
8710 PyObject
* obj6
= 0 ;
8712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8732 arg7
= wxString_in_helper(obj6
);
8733 if (arg7
== NULL
) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= PyInt_FromLong((long)result
);
8759 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8765 (char *) "self", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= PyInt_FromLong((long)result
);
8784 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8788 PyObject
* obj0
= 0 ;
8790 (char *) "self", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 resultobj
= PyInt_FromLong((long)result
);
8809 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8813 PyObject
* obj0
= 0 ;
8815 (char *) "self", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 resultobj
= PyInt_FromLong((long)result
);
8834 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8842 (char *) "self",(char *) "item", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8847 arg2
= (size_t) PyInt_AsLong(obj1
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= PyInt_FromLong((long)result
);
8863 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "self",(char *) "item", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 arg2
= (size_t) PyInt_AsLong(obj1
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= PyInt_FromLong((long)result
);
8892 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= PyInt_FromLong((long)result
);
8917 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8919 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8920 unsigned long *arg2
= 0 ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8925 (char *) "self",(char *) "cookie", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= PyInt_FromLong((long)result
);
8948 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8951 unsigned long *arg2
= 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8956 (char *) "self",(char *) "cookie", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= PyInt_FromLong((long)result
);
8979 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "self", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8998 wxPoint
* resultptr
;
8999 resultptr
= new wxPoint((wxPoint
&) result
);
9000 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9008 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9014 (char *) "self", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9023 result
= (wxColour
*) &_result_ref
;
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9036 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9043 (char *) "self",(char *) "count", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9048 arg2
= (size_t) PyInt_AsLong(obj1
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 (arg1
)->SetItemCount(arg2
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "self", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self",(char *) "selection", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 (arg1
)->SetSelection(arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 Py_INCREF(Py_None
); resultobj
= Py_None
;
9113 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9117 bool arg3
= (bool) true ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 PyObject
* obj2
= 0 ;
9123 (char *) "self",(char *) "item",(char *) "select", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9128 arg2
= (size_t) PyInt_AsLong(obj1
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 arg3
= PyInt_AsLong(obj2
) ? true : false;
9132 if (PyErr_Occurred()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= PyInt_FromLong((long)result
);
9148 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9158 (char *) "self",(char *) "from",(char *) "to", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9163 arg2
= (size_t) PyInt_AsLong(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9165 arg3
= (size_t) PyInt_AsLong(obj2
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= PyInt_FromLong((long)result
);
9181 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9188 (char *) "self",(char *) "item", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9193 arg2
= (size_t) PyInt_AsLong(obj1
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 (arg1
)->Toggle(arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (bool)(arg1
)->SelectAll();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= PyInt_FromLong((long)result
);
9234 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (bool)(arg1
)->DeselectAll();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= PyInt_FromLong((long)result
);
9259 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9267 (char *) "self",(char *) "pt", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 Py_INCREF(Py_None
); resultobj
= Py_None
;
9290 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self",(char *) "x",(char *) "y", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->SetMargins(arg2
,arg3
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 Py_INCREF(Py_None
); resultobj
= Py_None
;
9316 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9319 wxColour
*arg2
= 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9324 (char *) "self",(char *) "col", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9350 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9352 return Py_BuildValue((char *)"");
9354 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxWindow
*arg1
= (wxWindow
*) 0 ;
9357 wxWindowID arg2
= (wxWindowID
) wxID_ANY
;
9358 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9359 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9360 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9361 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9362 long arg5
= (long) 0 ;
9363 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9364 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9365 wxPyHtmlListBox
*result
;
9368 bool temp6
= false ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj2
= 0 ;
9371 PyObject
* obj3
= 0 ;
9372 PyObject
* obj5
= 0 ;
9374 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9393 arg6
= wxString_in_helper(obj5
);
9394 if (arg6
== NULL
) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9420 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxPyHtmlListBox
*result
;
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9442 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9445 PyObject
*arg2
= (PyObject
*) 0 ;
9446 PyObject
*arg3
= (PyObject
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9449 PyObject
* obj2
= 0 ;
9451 (char *) "self",(char *) "self",(char *) "_class", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 Py_INCREF(Py_None
); resultobj
= Py_None
;
9472 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9475 wxWindow
*arg2
= (wxWindow
*) 0 ;
9476 wxWindowID arg3
= (wxWindowID
) wxID_ANY
;
9477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9481 long arg6
= (long) 0 ;
9482 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9487 bool temp7
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj3
= 0 ;
9491 PyObject
* obj4
= 0 ;
9492 PyObject
* obj6
= 0 ;
9494 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9514 arg7
= wxString_in_helper(obj6
);
9515 if (arg7
== NULL
) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= PyInt_FromLong((long)result
);
9541 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 (arg1
)->RefreshAll();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 Py_INCREF(Py_None
); resultobj
= Py_None
;
9565 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9572 (char *) "self",(char *) "count", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9577 arg2
= (size_t) PyInt_AsLong(obj1
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->SetItemCount(arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9593 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9596 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9598 return Py_BuildValue((char *)"");
9600 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxTaskBarIcon
*result
;
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9622 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "self", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 Py_INCREF(Py_None
); resultobj
= Py_None
;
9646 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= PyInt_FromLong((long)result
);
9671 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= PyInt_FromLong((long)result
);
9696 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9700 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9701 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9703 bool temp3
= false ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 PyObject
* obj2
= 0 ;
9708 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9713 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9715 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9719 arg3
= wxString_in_helper(obj2
);
9720 if (arg3
== NULL
) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= PyInt_FromLong((long)result
);
9746 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (bool)(arg1
)->RemoveIcon();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= PyInt_FromLong((long)result
);
9771 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9774 wxMenu
*arg2
= (wxMenu
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9779 (char *) "self",(char *) "menu", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)(arg1
)->PopupMenu(arg2
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= PyInt_FromLong((long)result
);
9799 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9802 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9804 return Py_BuildValue((char *)"");
9806 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9809 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9810 wxTaskBarIconEvent
*result
;
9811 PyObject
* obj1
= 0 ;
9813 (char *) "evtType",(char *) "tbIcon", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9832 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9835 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9837 return Py_BuildValue((char *)"");
9839 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxColourData
*result
;
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (wxColourData
*)new wxColourData();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9861 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxColourData
*arg1
= (wxColourData
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 Py_INCREF(Py_None
); resultobj
= Py_None
;
9885 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxColourData
*arg1
= (wxColourData
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (bool)(arg1
)->GetChooseFull();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyInt_FromLong((long)result
);
9910 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxColourData
*arg1
= (wxColourData
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9916 (char *) "self", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (arg1
)->GetColour();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 wxColour
* resultptr
;
9930 resultptr
= new wxColour((wxColour
&) result
);
9931 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9939 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxColourData
*arg1
= (wxColourData
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self",(char *) "i", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= (arg1
)->GetCustomColour(arg2
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9959 wxColour
* resultptr
;
9960 resultptr
= new wxColour((wxColour
&) result
);
9961 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9969 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxColourData
*arg1
= (wxColourData
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self",(char *) "flag", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 (arg1
)->SetChooseFull(arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 Py_INCREF(Py_None
); resultobj
= Py_None
;
9994 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxColourData
*arg1
= (wxColourData
*) 0 ;
9997 wxColour
*arg2
= 0 ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self",(char *) "colour", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->SetColour((wxColour
const &)*arg2
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 Py_INCREF(Py_None
); resultobj
= Py_None
;
10025 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxColourData
*arg1
= (wxColourData
*) 0 ;
10029 wxColour
*arg3
= 0 ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj2
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self",(char *) "i",(char *) "colour", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10041 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 Py_INCREF(Py_None
); resultobj
= Py_None
;
10057 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10060 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10062 return Py_BuildValue((char *)"");
10064 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxWindow
*arg1
= (wxWindow
*) 0 ;
10067 wxColourData
*arg2
= (wxColourData
*) NULL
;
10068 wxColourDialog
*result
;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "parent",(char *) "data", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
10094 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10097 wxColourData
*result
;
10098 PyObject
* obj0
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10109 result
= (wxColourData
*) &_result_ref
;
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10122 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10126 PyObject
* obj0
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (int)(arg1
)->ShowModal();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= PyInt_FromLong((long)result
);
10147 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10150 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10152 return Py_BuildValue((char *)"");
10154 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxWindow
*arg1
= (wxWindow
*) 0 ;
10157 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10158 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10159 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10160 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10161 long arg4
= (long) 0 ;
10162 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10163 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10164 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10165 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10166 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10168 wxDirDialog
*result
;
10169 bool temp2
= false ;
10170 bool temp3
= false ;
10173 bool temp7
= false ;
10174 PyObject
* obj0
= 0 ;
10175 PyObject
* obj1
= 0 ;
10176 PyObject
* obj2
= 0 ;
10177 PyObject
* obj4
= 0 ;
10178 PyObject
* obj5
= 0 ;
10179 PyObject
* obj6
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10188 arg2
= wxString_in_helper(obj1
);
10189 if (arg2
== NULL
) SWIG_fail
;
10195 arg3
= wxString_in_helper(obj2
);
10196 if (arg3
== NULL
) SWIG_fail
;
10203 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10209 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10214 arg7
= wxString_in_helper(obj6
);
10215 if (arg7
== NULL
) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10257 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (arg1
)->GetPath();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10288 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (arg1
)->GetMessage();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10319 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (long)(arg1
)->GetStyle();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= PyInt_FromLong((long)result
);
10344 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10347 wxString
*arg2
= 0 ;
10348 bool temp2
= false ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self",(char *) "message", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10358 arg2
= wxString_in_helper(obj1
);
10359 if (arg2
== NULL
) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->SetMessage((wxString
const &)*arg2
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10384 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10387 wxString
*arg2
= 0 ;
10388 bool temp2
= false ;
10389 PyObject
* obj0
= 0 ;
10390 PyObject
* obj1
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "path", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10398 arg2
= wxString_in_helper(obj1
);
10399 if (arg2
== NULL
) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 (arg1
)->SetPath((wxString
const &)*arg2
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 Py_INCREF(Py_None
); resultobj
= Py_None
;
10424 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (int)(arg1
)->ShowModal();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= PyInt_FromLong((long)result
);
10449 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10452 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10454 return Py_BuildValue((char *)"");
10456 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxWindow
*arg1
= (wxWindow
*) 0 ;
10459 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10463 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10464 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10465 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10466 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10467 long arg6
= (long) 0 ;
10468 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10469 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10470 wxFileDialog
*result
;
10471 bool temp2
= false ;
10472 bool temp3
= false ;
10473 bool temp4
= false ;
10474 bool temp5
= false ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 PyObject
* obj3
= 0 ;
10480 PyObject
* obj4
= 0 ;
10481 PyObject
* obj6
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10490 arg2
= wxString_in_helper(obj1
);
10491 if (arg2
== NULL
) SWIG_fail
;
10497 arg3
= wxString_in_helper(obj2
);
10498 if (arg3
== NULL
) SWIG_fail
;
10504 arg4
= wxString_in_helper(obj3
);
10505 if (arg4
== NULL
) SWIG_fail
;
10511 arg5
= wxString_in_helper(obj4
);
10512 if (arg5
== NULL
) SWIG_fail
;
10519 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10568 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10571 wxString
*arg2
= 0 ;
10572 bool temp2
= false ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "message", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10582 arg2
= wxString_in_helper(obj1
);
10583 if (arg2
== NULL
) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 (arg1
)->SetMessage((wxString
const &)*arg2
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10611 wxString
*arg2
= 0 ;
10612 bool temp2
= false ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self",(char *) "path", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10622 arg2
= wxString_in_helper(obj1
);
10623 if (arg2
== NULL
) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 (arg1
)->SetPath((wxString
const &)*arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 Py_INCREF(Py_None
); resultobj
= Py_None
;
10648 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10651 wxString
*arg2
= 0 ;
10652 bool temp2
= false ;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "self",(char *) "dir", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10662 arg2
= wxString_in_helper(obj1
);
10663 if (arg2
== NULL
) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10691 wxString
*arg2
= 0 ;
10692 bool temp2
= false ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "name", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10702 arg2
= wxString_in_helper(obj1
);
10703 if (arg2
== NULL
) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 (arg1
)->SetFilename((wxString
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10731 wxString
*arg2
= 0 ;
10732 bool temp2
= false ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self",(char *) "wildCard", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10742 arg2
= wxString_in_helper(obj1
);
10743 if (arg2
== NULL
) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "style", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 (arg1
)->SetStyle(arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "filterIndex", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetFilterIndex(arg2
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10849 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10880 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10911 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10942 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10946 PyObject
* obj0
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10973 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= PyInt_FromLong((long)result
);
10998 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 resultobj
= PyInt_FromLong((long)result
);
11023 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11027 PyObject
* obj0
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= result
;
11048 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11052 PyObject
* obj0
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
;
11073 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11076 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11078 return Py_BuildValue((char *)"");
11080 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxWindow
*arg1
= (wxWindow
*) 0 ;
11083 wxString
*arg2
= 0 ;
11084 wxString
*arg3
= 0 ;
11086 wxString
*arg5
= (wxString
*) 0 ;
11087 long arg6
= (long) wxCHOICEDLG_STYLE
;
11088 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11089 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11090 wxMultiChoiceDialog
*result
;
11091 bool temp2
= false ;
11092 bool temp3
= false ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 PyObject
* obj4
= 0 ;
11098 PyObject
* obj6
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11106 arg2
= wxString_in_helper(obj1
);
11107 if (arg2
== NULL
) SWIG_fail
;
11111 arg3
= wxString_in_helper(obj2
);
11112 if (arg3
== NULL
) SWIG_fail
;
11115 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11119 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11152 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11155 wxArrayInt
*arg2
= 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "selections", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11165 if (! PySequence_Check(obj1
)) {
11166 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11169 arg2
= new wxArrayInt
;
11170 int i
, len
=PySequence_Length(obj1
);
11171 for (i
=0; i
<len
; i
++) {
11172 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11173 PyObject
* number
= PyNumber_Int(item
);
11174 arg2
->Add(PyInt_AS_LONG(number
));
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 if (arg2
) delete arg2
;
11193 if (arg2
) delete arg2
;
11199 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= result
;
11224 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11227 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11229 return Py_BuildValue((char *)"");
11231 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxWindow
*arg1
= (wxWindow
*) 0 ;
11234 wxString
*arg2
= 0 ;
11235 wxString
*arg3
= 0 ;
11237 wxString
*arg5
= (wxString
*) 0 ;
11238 long arg6
= (long) wxCHOICEDLG_STYLE
;
11239 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11240 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11241 wxSingleChoiceDialog
*result
;
11242 bool temp2
= false ;
11243 bool temp3
= false ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 PyObject
* obj3
= 0 ;
11249 PyObject
* obj5
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 arg2
= wxString_in_helper(obj1
);
11258 if (arg2
== NULL
) SWIG_fail
;
11262 arg3
= wxString_in_helper(obj2
);
11263 if (arg3
== NULL
) SWIG_fail
;
11267 arg4
= PyList_Size(obj3
);
11268 arg5
= wxString_LIST_helper(obj3
);
11269 if (arg5
== NULL
) SWIG_fail
;
11274 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11294 if (arg5
) delete [] arg5
;
11307 if (arg5
) delete [] arg5
;
11313 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (int)(arg1
)->GetSelection();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= PyInt_FromLong((long)result
);
11338 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (arg1
)->GetStringSelection();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11369 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "sel", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->SetSelection(arg2
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 Py_INCREF(Py_None
); resultobj
= Py_None
;
11394 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (int)(arg1
)->ShowModal();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= PyInt_FromLong((long)result
);
11419 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11422 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11424 return Py_BuildValue((char *)"");
11426 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxWindow
*arg1
= (wxWindow
*) 0 ;
11429 wxString
*arg2
= 0 ;
11430 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11431 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11432 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11433 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11434 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11435 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11436 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11437 wxTextEntryDialog
*result
;
11438 bool temp2
= false ;
11439 bool temp3
= false ;
11440 bool temp4
= false ;
11442 PyObject
* obj0
= 0 ;
11443 PyObject
* obj1
= 0 ;
11444 PyObject
* obj2
= 0 ;
11445 PyObject
* obj3
= 0 ;
11446 PyObject
* obj5
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11454 arg2
= wxString_in_helper(obj1
);
11455 if (arg2
== NULL
) SWIG_fail
;
11460 arg3
= wxString_in_helper(obj2
);
11461 if (arg3
== NULL
) SWIG_fail
;
11467 arg4
= wxString_in_helper(obj3
);
11468 if (arg4
== NULL
) SWIG_fail
;
11475 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11516 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (arg1
)->GetValue();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11547 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11550 wxString
*arg2
= 0 ;
11551 bool temp2
= false ;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "value", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11561 arg2
= wxString_in_helper(obj1
);
11562 if (arg2
== NULL
) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 (arg1
)->SetValue((wxString
const &)*arg2
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 Py_INCREF(Py_None
); resultobj
= Py_None
;
11587 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (int)(arg1
)->ShowModal();
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= PyInt_FromLong((long)result
);
11612 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11615 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11617 return Py_BuildValue((char *)"");
11619 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxFontData
*result
;
11622 char *kwnames
[] = {
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (wxFontData
*)new wxFontData();
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11641 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxFontData
*arg1
= (wxFontData
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "self", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 Py_INCREF(Py_None
); resultobj
= Py_None
;
11665 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxFontData
*arg1
= (wxFontData
*) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self",(char *) "enable", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11677 arg2
= PyInt_AsLong(obj1
) ? true : false;
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 (arg1
)->EnableEffects(arg2
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 Py_INCREF(Py_None
); resultobj
= Py_None
;
11693 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxFontData
*arg1
= (wxFontData
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (bool)(arg1
)->GetAllowSymbols();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= PyInt_FromLong((long)result
);
11718 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxFontData
*arg1
= (wxFontData
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (arg1
)->GetColour();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 wxColour
* resultptr
;
11738 resultptr
= new wxColour((wxColour
&) result
);
11739 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11747 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxFontData
*arg1
= (wxFontData
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 result
= (arg1
)->GetChosenFont();
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11766 wxFont
* resultptr
;
11767 resultptr
= new wxFont((wxFont
&) result
);
11768 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11776 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxFontData
*arg1
= (wxFontData
*) 0 ;
11780 PyObject
* obj0
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (bool)(arg1
)->GetEnableEffects();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= PyInt_FromLong((long)result
);
11801 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxFontData
*arg1
= (wxFontData
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (arg1
)->GetInitialFont();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 wxFont
* resultptr
;
11821 resultptr
= new wxFont((wxFont
&) result
);
11822 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11830 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxFontData
*arg1
= (wxFontData
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (bool)(arg1
)->GetShowHelp();
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= PyInt_FromLong((long)result
);
11855 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxFontData
*arg1
= (wxFontData
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 PyObject
* obj1
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self",(char *) "allowSymbols", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11867 arg2
= PyInt_AsLong(obj1
) ? true : false;
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 (arg1
)->SetAllowSymbols(arg2
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 Py_INCREF(Py_None
); resultobj
= Py_None
;
11883 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxFontData
*arg1
= (wxFontData
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "font", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11896 if (arg2
== NULL
) {
11897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 Py_INCREF(Py_None
); resultobj
= Py_None
;
11913 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxFontData
*arg1
= (wxFontData
*) 0 ;
11916 wxColour
*arg2
= 0 ;
11918 PyObject
* obj0
= 0 ;
11919 PyObject
* obj1
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self",(char *) "colour", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11928 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 (arg1
)->SetColour((wxColour
const &)*arg2
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 Py_INCREF(Py_None
); resultobj
= Py_None
;
11944 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxFontData
*arg1
= (wxFontData
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 char *kwnames
[] = {
11951 (char *) "self",(char *) "font", NULL
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11956 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11957 if (arg2
== NULL
) {
11958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 Py_INCREF(Py_None
); resultobj
= Py_None
;
11974 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxFontData
*arg1
= (wxFontData
*) 0 ;
11979 PyObject
* obj0
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "min",(char *) "max", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->SetRange(arg2
,arg3
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12000 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxFontData
*arg1
= (wxFontData
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self",(char *) "showHelp", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12012 arg2
= PyInt_AsLong(obj1
) ? true : false;
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->SetShowHelp(arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 Py_INCREF(Py_None
); resultobj
= Py_None
;
12028 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12031 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12033 return Py_BuildValue((char *)"");
12035 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxWindow
*arg1
= (wxWindow
*) 0 ;
12038 wxFontData
*arg2
= 0 ;
12039 wxFontDialog
*result
;
12040 PyObject
* obj0
= 0 ;
12041 PyObject
* obj1
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "parent",(char *) "data", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12049 if (arg2
== NULL
) {
12050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
12066 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12069 wxFontData
*result
;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12081 result
= (wxFontData
*) &_result_ref
;
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
12094 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (int)(arg1
)->ShowModal();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= PyInt_FromLong((long)result
);
12119 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12122 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12124 return Py_BuildValue((char *)"");
12126 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxWindow
*arg1
= (wxWindow
*) 0 ;
12129 wxString
*arg2
= 0 ;
12130 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12132 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12133 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12134 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12135 wxMessageDialog
*result
;
12136 bool temp2
= false ;
12137 bool temp3
= false ;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 PyObject
* obj2
= 0 ;
12142 PyObject
* obj4
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12150 arg2
= wxString_in_helper(obj1
);
12151 if (arg2
== NULL
) SWIG_fail
;
12156 arg3
= wxString_in_helper(obj2
);
12157 if (arg3
== NULL
) SWIG_fail
;
12164 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12197 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (int)(arg1
)->ShowModal();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= PyInt_FromLong((long)result
);
12222 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12225 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12227 return Py_BuildValue((char *)"");
12229 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxString
*arg1
= 0 ;
12232 wxString
*arg2
= 0 ;
12233 int arg3
= (int) 100 ;
12234 wxWindow
*arg4
= (wxWindow
*) NULL
;
12235 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12236 wxProgressDialog
*result
;
12237 bool temp1
= false ;
12238 bool temp2
= false ;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 PyObject
* obj3
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
12248 arg1
= wxString_in_helper(obj0
);
12249 if (arg1
== NULL
) SWIG_fail
;
12253 arg2
= wxString_in_helper(obj1
);
12254 if (arg2
== NULL
) SWIG_fail
;
12258 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12290 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12294 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12295 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12297 bool temp3
= false ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj2
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12308 arg3
= wxString_in_helper(obj2
);
12309 if (arg3
== NULL
) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= PyInt_FromLong((long)result
);
12335 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12338 PyObject
* obj0
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12362 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12364 return Py_BuildValue((char *)"");
12366 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12369 int arg2
= (int) 0 ;
12370 wxFindDialogEvent
*result
;
12371 char *kwnames
[] = {
12372 (char *) "commandType",(char *) "id", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12390 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (int)(arg1
)->GetFlags();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= PyInt_FromLong((long)result
);
12415 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (arg1
)->GetFindString();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12446 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12461 result
= (wxString
*) &_result_ref
;
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12474 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12477 wxFindReplaceDialog
*result
;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12499 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self",(char *) "flags", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 (arg1
)->SetFlags(arg2
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 Py_INCREF(Py_None
); resultobj
= Py_None
;
12524 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12527 wxString
*arg2
= 0 ;
12528 bool temp2
= false ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self",(char *) "str", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12538 arg2
= wxString_in_helper(obj1
);
12539 if (arg2
== NULL
) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 (arg1
)->SetFindString((wxString
const &)*arg2
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 Py_INCREF(Py_None
); resultobj
= Py_None
;
12564 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12567 wxString
*arg2
= 0 ;
12568 bool temp2
= false ;
12569 PyObject
* obj0
= 0 ;
12570 PyObject
* obj1
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self",(char *) "str", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12578 arg2
= wxString_in_helper(obj1
);
12579 if (arg2
== NULL
) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12607 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12609 return Py_BuildValue((char *)"");
12611 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 int arg1
= (int) 0 ;
12614 wxFindReplaceData
*result
;
12615 char *kwnames
[] = {
12616 (char *) "flags", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12634 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 Py_INCREF(Py_None
); resultobj
= Py_None
;
12658 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 wxString
const &_result_ref
= (arg1
)->GetFindString();
12673 result
= (wxString
*) &_result_ref
;
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12686 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12701 result
= (wxString
*) &_result_ref
;
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12714 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (int)(arg1
)->GetFlags();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= PyInt_FromLong((long)result
);
12739 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self",(char *) "flags", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 (arg1
)->SetFlags(arg2
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12764 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12767 wxString
*arg2
= 0 ;
12768 bool temp2
= false ;
12769 PyObject
* obj0
= 0 ;
12770 PyObject
* obj1
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self",(char *) "str", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12778 arg2
= wxString_in_helper(obj1
);
12779 if (arg2
== NULL
) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->SetFindString((wxString
const &)*arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12807 wxString
*arg2
= 0 ;
12808 bool temp2
= false ;
12809 PyObject
* obj0
= 0 ;
12810 PyObject
* obj1
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self",(char *) "str", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12818 arg2
= wxString_in_helper(obj1
);
12819 if (arg2
== NULL
) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 Py_INCREF(Py_None
); resultobj
= Py_None
;
12844 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12847 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12849 return Py_BuildValue((char *)"");
12851 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxWindow
*arg1
= (wxWindow
*) 0 ;
12854 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12855 wxString
*arg3
= 0 ;
12856 int arg4
= (int) 0 ;
12857 wxFindReplaceDialog
*result
;
12858 bool temp3
= false ;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 PyObject
* obj2
= 0 ;
12862 char *kwnames
[] = {
12863 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12868 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 arg3
= wxString_in_helper(obj2
);
12871 if (arg3
== NULL
) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12896 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxFindReplaceDialog
*result
;
12899 char *kwnames
[] = {
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12918 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12921 wxWindow
*arg2
= (wxWindow
*) 0 ;
12922 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12923 wxString
*arg4
= 0 ;
12924 int arg5
= (int) 0 ;
12926 bool temp4
= false ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 PyObject
* obj3
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12938 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12940 arg4
= wxString_in_helper(obj3
);
12941 if (arg4
== NULL
) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= PyInt_FromLong((long)result
);
12966 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12969 wxFindReplaceData
*result
;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12991 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12994 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12995 PyObject
* obj0
= 0 ;
12996 PyObject
* obj1
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self",(char *) "data", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 (arg1
)->SetData(arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13021 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13023 return Py_BuildValue((char *)"");
13025 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxWindow
*arg1
= (wxWindow
*) 0 ;
13029 wxString
*arg3
= 0 ;
13030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13034 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13035 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13036 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13037 wxMDIParentFrame
*result
;
13038 bool temp3
= false ;
13041 bool temp7
= false ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj2
= 0 ;
13044 PyObject
* obj3
= 0 ;
13045 PyObject
* obj4
= 0 ;
13046 PyObject
* obj6
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13054 arg3
= wxString_in_helper(obj2
);
13055 if (arg3
== NULL
) SWIG_fail
;
13061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13072 arg7
= wxString_in_helper(obj6
);
13073 if (arg7
== NULL
) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13107 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxMDIParentFrame
*result
;
13110 char *kwnames
[] = {
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13129 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13132 wxWindow
*arg2
= (wxWindow
*) 0 ;
13134 wxString
*arg4
= 0 ;
13135 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13136 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13137 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13138 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13139 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13140 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13141 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13143 bool temp4
= false ;
13146 bool temp8
= false ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj3
= 0 ;
13150 PyObject
* obj4
= 0 ;
13151 PyObject
* obj5
= 0 ;
13152 PyObject
* obj7
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13161 arg4
= wxString_in_helper(obj3
);
13162 if (arg4
== NULL
) SWIG_fail
;
13168 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13174 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13179 arg8
= wxString_in_helper(obj7
);
13180 if (arg8
== NULL
) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= PyInt_FromLong((long)result
);
13214 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 (arg1
)->ActivateNext();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 Py_INCREF(Py_None
); resultobj
= Py_None
;
13238 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 (arg1
)->ActivatePrevious();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13265 PyObject
* obj0
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 (arg1
)->ArrangeIcons();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 Py_INCREF(Py_None
); resultobj
= Py_None
;
13286 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13289 PyObject
* obj0
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13313 wxMDIChildFrame
*result
;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= wxPyMake_wxObject(result
);
13337 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13340 wxMDIClientWindow
*result
;
13341 PyObject
* obj0
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= wxPyMake_wxObject(result
);
13364 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (wxWindow
*)(arg1
)->GetToolBar();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= wxPyMake_wxObject(result
);
13391 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= wxPyMake_wxObject(result
);
13418 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13421 wxMenu
*arg2
= (wxMenu
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "menu", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 (arg1
)->SetWindowMenu(arg2
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 Py_INCREF(Py_None
); resultobj
= Py_None
;
13445 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13448 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "toolbar", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 (arg1
)->SetToolBar(arg2
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 Py_INCREF(Py_None
); resultobj
= Py_None
;
13472 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 Py_INCREF(Py_None
); resultobj
= Py_None
;
13496 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13499 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13501 return Py_BuildValue((char *)"");
13503 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13507 wxString
*arg3
= 0 ;
13508 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13509 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13510 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13511 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13512 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13513 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13514 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13515 wxMDIChildFrame
*result
;
13516 bool temp3
= false ;
13519 bool temp7
= false ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj2
= 0 ;
13522 PyObject
* obj3
= 0 ;
13523 PyObject
* obj4
= 0 ;
13524 PyObject
* obj6
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13532 arg3
= wxString_in_helper(obj2
);
13533 if (arg3
== NULL
) SWIG_fail
;
13539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13550 arg7
= wxString_in_helper(obj6
);
13551 if (arg7
== NULL
) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= wxPyMake_wxObject(result
);
13587 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxMDIChildFrame
*result
;
13590 char *kwnames
[] = {
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= wxPyMake_wxObject(result
);
13611 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13614 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13616 wxString
*arg4
= 0 ;
13617 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13618 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13619 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13620 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13621 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13622 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13623 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13625 bool temp4
= false ;
13628 bool temp8
= false ;
13629 PyObject
* obj0
= 0 ;
13630 PyObject
* obj1
= 0 ;
13631 PyObject
* obj3
= 0 ;
13632 PyObject
* obj4
= 0 ;
13633 PyObject
* obj5
= 0 ;
13634 PyObject
* obj7
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13643 arg4
= wxString_in_helper(obj3
);
13644 if (arg4
== NULL
) SWIG_fail
;
13650 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13656 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13661 arg8
= wxString_in_helper(obj7
);
13662 if (arg8
== NULL
) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= PyInt_FromLong((long)result
);
13696 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->Activate();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self",(char *) "maximize", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13732 arg2
= PyInt_AsLong(obj1
) ? true : false;
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->Maximize(arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13748 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 Py_INCREF(Py_None
); resultobj
= Py_None
;
13772 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13775 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13777 return Py_BuildValue((char *)"");
13779 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13782 long arg2
= (long) 0 ;
13783 wxMDIClientWindow
*result
;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "parent",(char *) "style", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= wxPyMake_wxObject(result
);
13807 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxMDIClientWindow
*result
;
13810 char *kwnames
[] = {
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= wxPyMake_wxObject(result
);
13831 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13834 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13835 long arg3
= (long) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 PyObject
* obj1
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self",(char *) "parent",(char *) "style", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= PyInt_FromLong((long)result
);
13860 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13863 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13865 return Py_BuildValue((char *)"");
13867 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxWindow
*arg1
= (wxWindow
*) 0 ;
13871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13873 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13874 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13875 long arg5
= (long) 0 ;
13876 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13877 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13878 wxPyWindow
*result
;
13881 bool temp6
= false ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj2
= 0 ;
13884 PyObject
* obj3
= 0 ;
13885 PyObject
* obj5
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13906 arg6
= wxString_in_helper(obj5
);
13907 if (arg6
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13933 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13936 PyObject
*arg2
= (PyObject
*) 0 ;
13937 PyObject
*arg3
= (PyObject
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 PyObject
* obj2
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "self",(char *) "_class", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 Py_INCREF(Py_None
); resultobj
= Py_None
;
13963 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 Py_INCREF(Py_None
); resultobj
= Py_None
;
13991 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13998 int arg6
= (int) wxSIZE_AUTO
;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 Py_INCREF(Py_None
); resultobj
= Py_None
;
14020 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self",(char *) "width",(char *) "height", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 Py_INCREF(Py_None
); resultobj
= Py_None
;
14046 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14051 PyObject
* obj0
= 0 ;
14052 char *kwnames
[] = {
14053 (char *) "self",(char *) "x",(char *) "y", NULL
14056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 Py_INCREF(Py_None
); resultobj
= Py_None
;
14072 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14075 int *arg2
= (int *) 0 ;
14076 int *arg3
= (int *) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "self", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 Py_INCREF(Py_None
); resultobj
= Py_None
;
14097 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14098 resultobj
= t_output_helper(resultobj
,o
);
14101 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14102 resultobj
= t_output_helper(resultobj
,o
);
14110 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14113 int *arg2
= (int *) 0 ;
14114 int *arg3
= (int *) 0 ;
14117 PyObject
* obj0
= 0 ;
14118 char *kwnames
[] = {
14119 (char *) "self", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14135 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14136 resultobj
= t_output_helper(resultobj
,o
);
14139 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14140 resultobj
= t_output_helper(resultobj
,o
);
14148 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14151 int *arg2
= (int *) 0 ;
14152 int *arg3
= (int *) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14174 resultobj
= t_output_helper(resultobj
,o
);
14177 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14178 resultobj
= t_output_helper(resultobj
,o
);
14186 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
;
14188 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14190 PyObject
* obj0
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 wxSize
* resultptr
;
14206 resultptr
= new wxSize((wxSize
&) result
);
14207 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14215 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 char *kwnames
[] = {
14221 (char *) "self", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 wxSize
* resultptr
;
14235 resultptr
= new wxSize((wxSize
&) result
);
14236 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14244 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 (arg1
)->base_InitDialog();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 Py_INCREF(Py_None
); resultobj
= Py_None
;
14268 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)(arg1
)->base_TransferDataToWindow();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= PyInt_FromLong((long)result
);
14293 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= PyInt_FromLong((long)result
);
14318 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14322 PyObject
* obj0
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (bool)(arg1
)->base_Validate();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= PyInt_FromLong((long)result
);
14343 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= PyInt_FromLong((long)result
);
14368 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14372 PyObject
* obj0
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= PyInt_FromLong((long)result
);
14393 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14412 wxSize
* resultptr
;
14413 resultptr
= new wxSize((wxSize
&) result
);
14414 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14422 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14425 wxWindow
*arg2
= (wxWindow
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self",(char *) "child", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->base_AddChild(arg2
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14449 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14452 wxWindow
*arg2
= (wxWindow
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "child", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 (arg1
)->base_RemoveChild(arg2
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 Py_INCREF(Py_None
); resultobj
= Py_None
;
14476 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14479 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14481 return Py_BuildValue((char *)"");
14483 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxWindow
*arg1
= (wxWindow
*) 0 ;
14487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14491 long arg5
= (long) 0 ;
14492 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14493 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14497 bool temp6
= false ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj2
= 0 ;
14500 PyObject
* obj3
= 0 ;
14501 PyObject
* obj5
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14517 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14522 arg6
= wxString_in_helper(obj5
);
14523 if (arg6
== NULL
) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14549 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14552 PyObject
*arg2
= (PyObject
*) 0 ;
14553 PyObject
*arg3
= (PyObject
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 PyObject
* obj2
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "self",(char *) "_class", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 Py_INCREF(Py_None
); resultobj
= Py_None
;
14579 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 Py_INCREF(Py_None
); resultobj
= Py_None
;
14607 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14614 int arg6
= (int) wxSIZE_AUTO
;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 Py_INCREF(Py_None
); resultobj
= Py_None
;
14636 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "width",(char *) "height", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 Py_INCREF(Py_None
); resultobj
= Py_None
;
14662 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self",(char *) "x",(char *) "y", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 Py_INCREF(Py_None
); resultobj
= Py_None
;
14688 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14691 int *arg2
= (int *) 0 ;
14692 int *arg3
= (int *) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 Py_INCREF(Py_None
); resultobj
= Py_None
;
14713 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14714 resultobj
= t_output_helper(resultobj
,o
);
14717 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14718 resultobj
= t_output_helper(resultobj
,o
);
14726 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14729 int *arg2
= (int *) 0 ;
14730 int *arg3
= (int *) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 Py_INCREF(Py_None
); resultobj
= Py_None
;
14751 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14752 resultobj
= t_output_helper(resultobj
,o
);
14755 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14756 resultobj
= t_output_helper(resultobj
,o
);
14764 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14767 int *arg2
= (int *) 0 ;
14768 int *arg3
= (int *) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14790 resultobj
= t_output_helper(resultobj
,o
);
14793 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14794 resultobj
= t_output_helper(resultobj
,o
);
14802 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 wxSize
* resultptr
;
14822 resultptr
= new wxSize((wxSize
&) result
);
14823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14831 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14850 wxSize
* resultptr
;
14851 resultptr
= new wxSize((wxSize
&) result
);
14852 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14860 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->base_InitDialog();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (bool)(arg1
)->base_TransferDataToWindow();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= PyInt_FromLong((long)result
);
14909 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= PyInt_FromLong((long)result
);
14934 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (bool)(arg1
)->base_Validate();
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= PyInt_FromLong((long)result
);
14959 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= PyInt_FromLong((long)result
);
14984 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= PyInt_FromLong((long)result
);
15009 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15028 wxSize
* resultptr
;
15029 resultptr
= new wxSize((wxSize
&) result
);
15030 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15038 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15041 wxWindow
*arg2
= (wxWindow
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "child", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 (arg1
)->base_AddChild(arg2
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 Py_INCREF(Py_None
); resultobj
= Py_None
;
15065 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15068 wxWindow
*arg2
= (wxWindow
*) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self",(char *) "child", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->base_RemoveChild(arg2
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
15094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15095 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
15097 return Py_BuildValue((char *)"");
15099 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxPrintData
*result
;
15102 char *kwnames
[] = {
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (wxPrintData
*)new wxPrintData();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
15121 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (int)(arg1
)->GetNoCopies();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= PyInt_FromLong((long)result
);
15170 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (bool)(arg1
)->GetCollate();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= PyInt_FromLong((long)result
);
15195 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (int)(arg1
)->GetOrientation();
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= PyInt_FromLong((long)result
);
15220 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (bool)(arg1
)->Ok();
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= PyInt_FromLong((long)result
);
15245 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15249 PyObject
* obj0
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
15260 result
= (wxString
*) &_result_ref
;
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15273 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (bool)(arg1
)->GetColour();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= PyInt_FromLong((long)result
);
15298 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (int)(arg1
)->GetDuplex();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= PyInt_FromLong((long)result
);
15323 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (int)(arg1
)->GetPaperId();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= PyInt_FromLong((long)result
);
15348 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15363 result
= (wxSize
*) &_result_ref
;
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15376 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15379 wxPrintQuality result
;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (arg1
)->GetQuality();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 wxPrintQuality
* resultptr
;
15396 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
15397 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
15405 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self",(char *) "v", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->SetNoCopies(arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "flag", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15442 arg2
= PyInt_AsLong(obj1
) ? true : false;
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 (arg1
)->SetCollate(arg2
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "orient", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->SetOrientation(arg2
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15486 wxString
*arg2
= 0 ;
15487 bool temp2
= false ;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self",(char *) "name", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15497 arg2
= wxString_in_helper(obj1
);
15498 if (arg2
== NULL
) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 Py_INCREF(Py_None
); resultobj
= Py_None
;
15523 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "colour", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15535 arg2
= PyInt_AsLong(obj1
) ? true : false;
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->SetColour(arg2
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 Py_INCREF(Py_None
); resultobj
= Py_None
;
15551 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self",(char *) "duplex", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self",(char *) "sizeId", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 Py_INCREF(Py_None
); resultobj
= Py_None
;
15601 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "sz", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 Py_INCREF(Py_None
); resultobj
= Py_None
;
15632 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15635 wxPrintQuality arg2
;
15636 wxPrintQuality
*argp2
;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self",(char *) "quality", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
15644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15645 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 (arg1
)->SetQuality(arg2
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 Py_INCREF(Py_None
); resultobj
= Py_None
;
15661 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15676 result
= (wxString
*) &_result_ref
;
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15689 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15704 result
= (wxString
*) &_result_ref
;
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15717 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15732 result
= (wxString
*) &_result_ref
;
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15745 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 wxString
const &_result_ref
= (arg1
)->GetFilename();
15760 result
= (wxString
*) &_result_ref
;
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15773 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15788 result
= (wxString
*) &_result_ref
;
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15801 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (double)(arg1
)->GetPrinterScaleX();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= PyFloat_FromDouble(result
);
15826 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (double)(arg1
)->GetPrinterScaleY();
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= PyFloat_FromDouble(result
);
15851 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (long)(arg1
)->GetPrinterTranslateX();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= PyInt_FromLong((long)result
);
15876 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (long)(arg1
)->GetPrinterTranslateY();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= PyInt_FromLong((long)result
);
15901 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (int)(arg1
)->GetPrintMode();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= PyInt_FromLong((long)result
);
15926 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15929 wxString
*arg2
= 0 ;
15930 bool temp2
= false ;
15931 PyObject
* obj0
= 0 ;
15932 PyObject
* obj1
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self",(char *) "command", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15940 arg2
= wxString_in_helper(obj1
);
15941 if (arg2
== NULL
) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 Py_INCREF(Py_None
); resultobj
= Py_None
;
15966 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15969 wxString
*arg2
= 0 ;
15970 bool temp2
= false ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "options", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15980 arg2
= wxString_in_helper(obj1
);
15981 if (arg2
== NULL
) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 Py_INCREF(Py_None
); resultobj
= Py_None
;
16006 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16009 wxString
*arg2
= 0 ;
16010 bool temp2
= false ;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "command", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16020 arg2
= wxString_in_helper(obj1
);
16021 if (arg2
== NULL
) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16049 wxString
*arg2
= 0 ;
16050 bool temp2
= false ;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self",(char *) "filename", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16060 arg2
= wxString_in_helper(obj1
);
16061 if (arg2
== NULL
) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 (arg1
)->SetFilename((wxString
const &)*arg2
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 Py_INCREF(Py_None
); resultobj
= Py_None
;
16086 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16089 wxString
*arg2
= 0 ;
16090 bool temp2
= false ;
16091 PyObject
* obj0
= 0 ;
16092 PyObject
* obj1
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self",(char *) "path", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16100 arg2
= wxString_in_helper(obj1
);
16101 if (arg2
== NULL
) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self",(char *) "x", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 (arg1
)->SetPrinterScaleX(arg2
);
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 Py_INCREF(Py_None
); resultobj
= Py_None
;
16151 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "y", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
16161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 (arg1
)->SetPrinterScaleY(arg2
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 Py_INCREF(Py_None
); resultobj
= Py_None
;
16176 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self",(char *) "x",(char *) "y", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 (arg1
)->SetPrinterScaling(arg2
,arg3
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 Py_INCREF(Py_None
); resultobj
= Py_None
;
16202 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16206 PyObject
* obj0
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "x", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 (arg1
)->SetPrinterTranslateX(arg2
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 Py_INCREF(Py_None
); resultobj
= Py_None
;
16227 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "y", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 (arg1
)->SetPrinterTranslateY(arg2
);
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 Py_INCREF(Py_None
); resultobj
= Py_None
;
16252 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
;
16254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self",(char *) "x",(char *) "y", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 Py_INCREF(Py_None
); resultobj
= Py_None
;
16278 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "printMode", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
16305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16306 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
16308 return Py_BuildValue((char *)"");
16310 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPageSetupDialogData
*result
;
16313 char *kwnames
[] = {
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16332 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16356 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "flag", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16368 arg2
= PyInt_AsLong(obj1
) ? true : false;
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 (arg1
)->EnableHelp(arg2
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "flag", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16396 arg2
= PyInt_AsLong(obj1
) ? true : false;
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->EnableMargins(arg2
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 Py_INCREF(Py_None
); resultobj
= Py_None
;
16412 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self",(char *) "flag", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16424 arg2
= PyInt_AsLong(obj1
) ? true : false;
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 (arg1
)->EnableOrientation(arg2
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 Py_INCREF(Py_None
); resultobj
= Py_None
;
16440 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "flag", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16452 arg2
= PyInt_AsLong(obj1
) ? true : false;
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 (arg1
)->EnablePaper(arg2
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 Py_INCREF(Py_None
); resultobj
= Py_None
;
16468 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self",(char *) "flag", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16480 arg2
= PyInt_AsLong(obj1
) ? true : false;
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 (arg1
)->EnablePrinter(arg2
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 Py_INCREF(Py_None
); resultobj
= Py_None
;
16496 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (bool)(arg1
)->GetDefaultMinMargins();
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= PyInt_FromLong((long)result
);
16521 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)(arg1
)->GetEnableMargins();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= PyInt_FromLong((long)result
);
16546 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (bool)(arg1
)->GetEnableOrientation();
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= PyInt_FromLong((long)result
);
16571 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (bool)(arg1
)->GetEnablePaper();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= PyInt_FromLong((long)result
);
16596 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (bool)(arg1
)->GetEnablePrinter();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= PyInt_FromLong((long)result
);
16621 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (bool)(arg1
)->GetEnableHelp();
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= PyInt_FromLong((long)result
);
16646 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= (bool)(arg1
)->GetDefaultInfo();
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= PyInt_FromLong((long)result
);
16671 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (arg1
)->GetMarginTopLeft();
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 wxPoint
* resultptr
;
16691 resultptr
= new wxPoint((wxPoint
&) result
);
16692 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16700 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (arg1
)->GetMarginBottomRight();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16719 wxPoint
* resultptr
;
16720 resultptr
= new wxPoint((wxPoint
&) result
);
16721 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16729 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (arg1
)->GetMinMarginTopLeft();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 wxPoint
* resultptr
;
16749 resultptr
= new wxPoint((wxPoint
&) result
);
16750 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16758 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (arg1
)->GetMinMarginBottomRight();
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 wxPoint
* resultptr
;
16778 resultptr
= new wxPoint((wxPoint
&) result
);
16779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16787 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (int)(arg1
)->GetPaperId();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= PyInt_FromLong((long)result
);
16812 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (arg1
)->GetPaperSize();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 wxSize
* resultptr
;
16832 resultptr
= new wxSize((wxSize
&) result
);
16833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16841 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16844 wxPrintData
*result
;
16845 PyObject
* obj0
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16856 result
= (wxPrintData
*) &_result_ref
;
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16869 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (bool)(arg1
)->Ok();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= PyInt_FromLong((long)result
);
16894 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16898 PyObject
* obj0
= 0 ;
16899 PyObject
* obj1
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self",(char *) "flag", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16906 arg2
= PyInt_AsLong(obj1
) ? true : false;
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 (arg1
)->SetDefaultInfo(arg2
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 Py_INCREF(Py_None
); resultobj
= Py_None
;
16922 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self",(char *) "flag", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16934 arg2
= PyInt_AsLong(obj1
) ? true : false;
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->SetDefaultMinMargins(arg2
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 Py_INCREF(Py_None
); resultobj
= Py_None
;
16950 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16953 wxPoint
*arg2
= 0 ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self",(char *) "pt", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 Py_INCREF(Py_None
); resultobj
= Py_None
;
16981 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16984 wxPoint
*arg2
= 0 ;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self",(char *) "pt", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 Py_INCREF(Py_None
); resultobj
= Py_None
;
17012 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17015 wxPoint
*arg2
= 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "pt", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 Py_INCREF(Py_None
); resultobj
= Py_None
;
17043 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17046 wxPoint
*arg2
= 0 ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 char *kwnames
[] = {
17051 (char *) "self",(char *) "pt", NULL
17054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
17055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 Py_INCREF(Py_None
); resultobj
= Py_None
;
17074 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "id", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self",(char *) "size", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17114 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 Py_INCREF(Py_None
); resultobj
= Py_None
;
17130 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17133 wxPrintData
*arg2
= 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "printData", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17143 if (arg2
== NULL
) {
17144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 Py_INCREF(Py_None
); resultobj
= Py_None
;
17160 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
17165 return Py_BuildValue((char *)"");
17167 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxWindow
*arg1
= (wxWindow
*) 0 ;
17170 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
17171 wxPageSetupDialog
*result
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "parent",(char *) "data", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
17197 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17200 wxPageSetupDialogData
*result
;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
17207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
17212 result
= (wxPageSetupDialogData
*) &_result_ref
;
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
17225 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (int)(arg1
)->ShowModal();
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= PyInt_FromLong((long)result
);
17250 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17253 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
17255 return Py_BuildValue((char *)"");
17257 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxPrintDialogData
*result
;
17260 char *kwnames
[] = {
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (wxPrintDialogData
*)new wxPrintDialogData();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
17279 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17282 PyObject
* obj0
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= PyInt_FromLong((long)result
);
17328 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "self", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= PyInt_FromLong((long)result
);
17353 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= PyInt_FromLong((long)result
);
17378 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyInt_FromLong((long)result
);
17403 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= PyInt_FromLong((long)result
);
17428 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= PyInt_FromLong((long)result
);
17453 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= PyInt_FromLong((long)result
);
17478 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= PyInt_FromLong((long)result
);
17503 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= PyInt_FromLong((long)result
);
17528 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= PyInt_FromLong((long)result
);
17553 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self",(char *) "v", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 (arg1
)->SetFromPage(arg2
);
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 Py_INCREF(Py_None
); resultobj
= Py_None
;
17578 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "v", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 (arg1
)->SetToPage(arg2
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 Py_INCREF(Py_None
); resultobj
= Py_None
;
17603 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self",(char *) "v", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 (arg1
)->SetMinPage(arg2
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 Py_INCREF(Py_None
); resultobj
= Py_None
;
17628 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "v", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 (arg1
)->SetMaxPage(arg2
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 Py_INCREF(Py_None
); resultobj
= Py_None
;
17653 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "v", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->SetNoCopies(arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "flag", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17690 arg2
= PyInt_AsLong(obj1
) ? true : false;
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 (arg1
)->SetAllPages(arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 Py_INCREF(Py_None
); resultobj
= Py_None
;
17706 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "flag", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17718 arg2
= PyInt_AsLong(obj1
) ? true : false;
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 (arg1
)->SetSelection(arg2
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 Py_INCREF(Py_None
); resultobj
= Py_None
;
17734 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self",(char *) "flag", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17746 arg2
= PyInt_AsLong(obj1
) ? true : false;
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->SetCollate(arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17762 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "flag", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17774 arg2
= PyInt_AsLong(obj1
) ? true : false;
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 (arg1
)->SetPrintToFile(arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self",(char *) "flag", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17802 arg2
= PyInt_AsLong(obj1
) ? true : false;
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->SetSetupDialog(arg2
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "flag", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17830 arg2
= PyInt_AsLong(obj1
) ? true : false;
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->EnablePrintToFile(arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "flag", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17858 arg2
= PyInt_AsLong(obj1
) ? true : false;
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 (arg1
)->EnableSelection(arg2
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 Py_INCREF(Py_None
); resultobj
= Py_None
;
17874 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17878 PyObject
* obj0
= 0 ;
17879 PyObject
* obj1
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self",(char *) "flag", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17886 arg2
= PyInt_AsLong(obj1
) ? true : false;
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 (arg1
)->EnablePageNumbers(arg2
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 Py_INCREF(Py_None
); resultobj
= Py_None
;
17902 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "flag", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17914 arg2
= PyInt_AsLong(obj1
) ? true : false;
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 (arg1
)->EnableHelp(arg2
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 Py_INCREF(Py_None
); resultobj
= Py_None
;
17930 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= PyInt_FromLong((long)result
);
17955 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= PyInt_FromLong((long)result
);
17980 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= PyInt_FromLong((long)result
);
18005 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= PyInt_FromLong((long)result
);
18030 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= PyInt_FromLong((long)result
);
18055 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18058 wxPrintData
*result
;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18070 result
= (wxPrintData
*) &_result_ref
;
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18083 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18086 wxPrintData
*arg2
= 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "printData", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18096 if (arg2
== NULL
) {
18097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 Py_INCREF(Py_None
); resultobj
= Py_None
;
18113 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18116 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
18118 return Py_BuildValue((char *)"");
18120 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxWindow
*arg1
= (wxWindow
*) 0 ;
18123 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
18124 wxPrintDialog
*result
;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "parent",(char *) "data", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
18150 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18153 wxPrintDialogData
*result
;
18154 PyObject
* obj0
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18165 result
= (wxPrintDialogData
*) &_result_ref
;
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18178 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (wxDC
*)(arg1
)->GetPrintDC();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= wxPyMake_wxObject(result
);
18205 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (int)(arg1
)->ShowModal();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= PyInt_FromLong((long)result
);
18230 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18233 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
18235 return Py_BuildValue((char *)"");
18237 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "data", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
18248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (wxPrinter
*)new wxPrinter(arg1
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
18264 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
18273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 Py_INCREF(Py_None
); resultobj
= Py_None
;
18288 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18291 wxWindow
*arg2
= (wxWindow
*) 0 ;
18292 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 PyObject
* obj2
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "parent",(char *) "printout", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18303 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->CreateAbortWindow(arg2
,arg3
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 Py_INCREF(Py_None
); resultobj
= Py_None
;
18318 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18321 wxPrintDialogData
*result
;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18333 result
= (wxPrintDialogData
*) &_result_ref
;
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18346 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18349 wxWindow
*arg2
= (wxWindow
*) 0 ;
18350 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18351 int arg4
= (int) TRUE
;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 PyObject
* obj2
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18363 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= PyInt_FromLong((long)result
);
18378 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18381 wxWindow
*arg2
= (wxWindow
*) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self",(char *) "parent", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= wxPyMake_wxObject(result
);
18408 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18411 wxWindow
*arg2
= (wxWindow
*) 0 ;
18412 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18413 wxString
*arg4
= 0 ;
18414 bool temp4
= false ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 PyObject
* obj2
= 0 ;
18418 PyObject
* obj3
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18426 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18428 arg4
= wxString_in_helper(obj3
);
18429 if (arg4
== NULL
) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 Py_INCREF(Py_None
); resultobj
= Py_None
;
18454 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18457 wxWindow
*arg2
= (wxWindow
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "parent", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (bool)(arg1
)->Setup(arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= PyInt_FromLong((long)result
);
18482 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (bool)(arg1
)->GetAbort();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= PyInt_FromLong((long)result
);
18507 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18510 char *kwnames
[] = {
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (int)wxPrinter::GetLastError();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= PyInt_FromLong((long)result
);
18529 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18532 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18534 return Py_BuildValue((char *)"");
18536 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18539 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18540 wxPyPrintout
*result
;
18541 bool temp1
= false ;
18542 PyObject
* obj0
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "title", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18550 arg1
= wxString_in_helper(obj0
);
18551 if (arg1
== NULL
) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= wxPyMake_wxObject(result
);
18579 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18582 PyObject
*arg2
= (PyObject
*) 0 ;
18583 PyObject
*arg3
= (PyObject
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 PyObject
* obj2
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "self",(char *) "_class", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18640 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (wxDC
*)(arg1
)->GetDC();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= wxPyMake_wxObject(result
);
18667 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18670 wxDC
*arg2
= (wxDC
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self",(char *) "dc", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->SetDC(arg2
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 Py_INCREF(Py_None
); resultobj
= Py_None
;
18694 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18697 int *arg2
= (int *) 0 ;
18698 int *arg3
= (int *) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 Py_INCREF(Py_None
); resultobj
= Py_None
;
18719 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18720 resultobj
= t_output_helper(resultobj
,o
);
18723 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18724 resultobj
= t_output_helper(resultobj
,o
);
18732 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self",(char *) "w",(char *) "h", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 Py_INCREF(Py_None
); resultobj
= Py_None
;
18758 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self",(char *) "w",(char *) "h", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 Py_INCREF(Py_None
); resultobj
= Py_None
;
18784 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18787 int *arg2
= (int *) 0 ;
18788 int *arg3
= (int *) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 Py_INCREF(Py_None
); resultobj
= Py_None
;
18809 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18810 resultobj
= t_output_helper(resultobj
,o
);
18813 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18814 resultobj
= t_output_helper(resultobj
,o
);
18822 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self",(char *) "x",(char *) "y", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->SetPPIScreen(arg2
,arg3
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 Py_INCREF(Py_None
); resultobj
= Py_None
;
18848 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18851 int *arg2
= (int *) 0 ;
18852 int *arg3
= (int *) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 (arg1
)->GetPPIScreen(arg2
,arg3
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18874 resultobj
= t_output_helper(resultobj
,o
);
18877 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18878 resultobj
= t_output_helper(resultobj
,o
);
18886 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self",(char *) "x",(char *) "y", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 Py_INCREF(Py_None
); resultobj
= Py_None
;
18912 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18915 int *arg2
= (int *) 0 ;
18916 int *arg3
= (int *) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 Py_INCREF(Py_None
); resultobj
= Py_None
;
18937 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18938 resultobj
= t_output_helper(resultobj
,o
);
18941 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18942 resultobj
= t_output_helper(resultobj
,o
);
18950 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (bool)(arg1
)->IsPreview();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= PyInt_FromLong((long)result
);
18975 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "p", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18987 arg2
= PyInt_AsLong(obj1
) ? true : false;
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 (arg1
)->SetIsPreview(arg2
);
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 Py_INCREF(Py_None
); resultobj
= Py_None
;
19003 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 resultobj
= PyInt_FromLong((long)result
);
19030 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 (arg1
)->base_OnEndDocument();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->base_OnBeginPrinting();
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 Py_INCREF(Py_None
); resultobj
= Py_None
;
19078 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 (arg1
)->base_OnEndPrinting();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 Py_INCREF(Py_None
); resultobj
= Py_None
;
19102 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 (arg1
)->base_OnPreparePrinting();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 Py_INCREF(Py_None
); resultobj
= Py_None
;
19126 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19129 int *arg2
= (int *) 0 ;
19130 int *arg3
= (int *) 0 ;
19131 int *arg4
= (int *) 0 ;
19132 int *arg5
= (int *) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19158 resultobj
= t_output_helper(resultobj
,o
);
19161 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19162 resultobj
= t_output_helper(resultobj
,o
);
19165 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
19166 resultobj
= t_output_helper(resultobj
,o
);
19169 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
19170 resultobj
= t_output_helper(resultobj
,o
);
19178 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "page", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (bool)(arg1
)->base_HasPage(arg2
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= PyInt_FromLong((long)result
);
19204 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
19206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19207 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
19209 return Py_BuildValue((char *)"");
19211 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19214 wxWindow
*arg2
= (wxWindow
*) 0 ;
19215 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19216 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19217 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19218 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19219 long arg5
= (long) 0 ;
19220 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
19221 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19222 wxPreviewCanvas
*result
;
19225 bool temp6
= false ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 PyObject
* obj2
= 0 ;
19229 PyObject
* obj3
= 0 ;
19230 PyObject
* obj5
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19252 arg6
= wxString_in_helper(obj5
);
19253 if (arg6
== NULL
) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
19279 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
19281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19282 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
19284 return Py_BuildValue((char *)"");
19286 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19289 wxFrame
*arg2
= (wxFrame
*) 0 ;
19290 wxString
*arg3
= 0 ;
19291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19295 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19296 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19298 wxPreviewFrame
*result
;
19299 bool temp3
= false ;
19302 bool temp7
= false ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 PyObject
* obj2
= 0 ;
19306 PyObject
* obj3
= 0 ;
19307 PyObject
* obj4
= 0 ;
19308 PyObject
* obj6
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19317 arg3
= wxString_in_helper(obj2
);
19318 if (arg3
== NULL
) SWIG_fail
;
19324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19335 arg7
= wxString_in_helper(obj6
);
19336 if (arg7
== NULL
) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19370 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->Initialize();
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 (arg1
)->CreateControlBar();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 Py_INCREF(Py_None
); resultobj
= Py_None
;
19418 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 (arg1
)->CreateCanvas();
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19442 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19445 wxPreviewControlBar
*result
;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19467 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19470 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19472 return Py_BuildValue((char *)"");
19474 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19478 wxWindow
*arg3
= (wxWindow
*) 0 ;
19479 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19480 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19481 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19482 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19483 long arg6
= (long) wxTAB_TRAVERSAL
;
19484 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19485 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19486 wxPreviewControlBar
*result
;
19489 bool temp7
= false ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj2
= 0 ;
19492 PyObject
* obj3
= 0 ;
19493 PyObject
* obj4
= 0 ;
19494 PyObject
* obj6
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19501 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19505 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19511 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19516 arg7
= wxString_in_helper(obj6
);
19517 if (arg7
== NULL
) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19543 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19547 PyObject
* obj0
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 result
= (int)(arg1
)->GetZoomControl();
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= PyInt_FromLong((long)result
);
19568 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "zoom", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 (arg1
)->SetZoomControl(arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 Py_INCREF(Py_None
); resultobj
= Py_None
;
19593 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19596 wxPrintPreview
*result
;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19618 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 Py_INCREF(Py_None
); resultobj
= Py_None
;
19642 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 (arg1
)->OnPrevious();
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 Py_INCREF(Py_None
); resultobj
= Py_None
;
19666 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 Py_INCREF(Py_None
); resultobj
= Py_None
;
19690 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 Py_INCREF(Py_None
); resultobj
= Py_None
;
19714 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 Py_INCREF(Py_None
); resultobj
= Py_None
;
19738 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19741 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19743 return Py_BuildValue((char *)"");
19745 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19748 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19749 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19750 wxPrintPreview
*result
;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 PyObject
* obj2
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19762 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19778 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self",(char *) "pageNum", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= PyInt_FromLong((long)result
);
19804 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= (int)(arg1
)->GetCurrentPage();
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= PyInt_FromLong((long)result
);
19829 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19832 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "printout", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 (arg1
)->SetPrintout(arg2
);
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19849 Py_INCREF(Py_None
); resultobj
= Py_None
;
19856 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19859 wxPyPrintout
*result
;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= wxPyMake_wxObject(result
);
19883 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19886 wxPyPrintout
*result
;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= wxPyMake_wxObject(result
);
19910 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19913 wxFrame
*arg2
= (wxFrame
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "frame", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 (arg1
)->SetFrame(arg2
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 Py_INCREF(Py_None
); resultobj
= Py_None
;
19937 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19940 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self",(char *) "canvas", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 (arg1
)->SetCanvas(arg2
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 Py_INCREF(Py_None
); resultobj
= Py_None
;
19964 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19968 PyObject
* obj0
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (wxFrame
*)(arg1
)->GetFrame();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= wxPyMake_wxObject(result
);
19991 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19994 wxPreviewCanvas
*result
;
19995 PyObject
* obj0
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
20016 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20019 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 PyObject
* obj2
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20032 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20033 if (arg3
== NULL
) {
20034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= PyInt_FromLong((long)result
);
20050 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20053 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 PyObject
* obj2
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20066 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20067 if (arg3
== NULL
) {
20068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20077 resultobj
= PyInt_FromLong((long)result
);
20084 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self",(char *) "pageNum", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (bool)(arg1
)->RenderPage(arg2
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= PyInt_FromLong((long)result
);
20110 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20113 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 PyObject
* obj1
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self",(char *) "canvas", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->AdjustScrollbars(arg2
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20140 wxPrintDialogData
*result
;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20152 result
= (wxPrintDialogData
*) &_result_ref
;
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
20165 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self",(char *) "percent", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 (arg1
)->SetZoom(arg2
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20183 Py_INCREF(Py_None
); resultobj
= Py_None
;
20190 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= (int)(arg1
)->GetZoom();
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= PyInt_FromLong((long)result
);
20215 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20219 PyObject
* obj0
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (int)(arg1
)->GetMaxPage();
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= PyInt_FromLong((long)result
);
20240 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (int)(arg1
)->GetMinPage();
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= PyInt_FromLong((long)result
);
20265 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20267 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20269 PyObject
* obj0
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (bool)(arg1
)->Ok();
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= PyInt_FromLong((long)result
);
20290 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "ok", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20302 arg2
= PyInt_AsLong(obj1
) ? true : false;
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetOk(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "self",(char *) "interactive", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20331 arg2
= PyInt_AsLong(obj1
) ? true : false;
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (bool)(arg1
)->Print(arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= PyInt_FromLong((long)result
);
20347 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 (arg1
)->DetermineScaling();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 Py_INCREF(Py_None
); resultobj
= Py_None
;
20371 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20374 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20376 return Py_BuildValue((char *)"");
20378 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20381 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20382 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20383 wxPyPrintPreview
*result
;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20395 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20411 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20414 PyObject
*arg2
= (PyObject
*) 0 ;
20415 PyObject
*arg3
= (PyObject
*) 0 ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 PyObject
* obj2
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self",(char *) "self",(char *) "_class", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self",(char *) "pageNum", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= PyInt_FromLong((long)result
);
20467 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20470 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 PyObject
* obj2
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20482 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20483 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20484 if (arg3
== NULL
) {
20485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= PyInt_FromLong((long)result
);
20501 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20504 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20507 PyObject
* obj0
= 0 ;
20508 PyObject
* obj1
= 0 ;
20509 PyObject
* obj2
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20517 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20518 if (arg3
== NULL
) {
20519 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 resultobj
= PyInt_FromLong((long)result
);
20535 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "pageNum", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= PyInt_FromLong((long)result
);
20561 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self",(char *) "percent", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->base_SetZoom(arg2
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 Py_INCREF(Py_None
); resultobj
= Py_None
;
20586 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "interactive", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20599 arg2
= PyInt_AsLong(obj1
) ? true : false;
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (bool)(arg1
)->base_Print(arg2
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= PyInt_FromLong((long)result
);
20615 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 (arg1
)->base_DetermineScaling();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 Py_INCREF(Py_None
); resultobj
= Py_None
;
20639 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20642 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20644 return Py_BuildValue((char *)"");
20646 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20649 wxFrame
*arg2
= (wxFrame
*) 0 ;
20650 wxString
*arg3
= 0 ;
20651 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20652 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20653 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20654 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20655 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20656 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20658 wxPyPreviewFrame
*result
;
20659 bool temp3
= false ;
20662 bool temp7
= false ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 PyObject
* obj2
= 0 ;
20666 PyObject
* obj3
= 0 ;
20667 PyObject
* obj4
= 0 ;
20668 PyObject
* obj6
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20677 arg3
= wxString_in_helper(obj2
);
20678 if (arg3
== NULL
) SWIG_fail
;
20684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20695 arg7
= wxString_in_helper(obj6
);
20696 if (arg7
== NULL
) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20730 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20733 PyObject
*arg2
= (PyObject
*) 0 ;
20734 PyObject
*arg3
= (PyObject
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20737 PyObject
* obj2
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self",(char *) "self",(char *) "_class", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 Py_INCREF(Py_None
); resultobj
= Py_None
;
20760 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20763 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self",(char *) "canvas", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 (arg1
)->SetPreviewCanvas(arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 Py_INCREF(Py_None
); resultobj
= Py_None
;
20787 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20789 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20790 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20791 PyObject
* obj0
= 0 ;
20792 PyObject
* obj1
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self",(char *) "bar", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->SetControlBar(arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 Py_INCREF(Py_None
); resultobj
= Py_None
;
20814 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 (arg1
)->base_Initialize();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 Py_INCREF(Py_None
); resultobj
= Py_None
;
20838 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 (arg1
)->base_CreateCanvas();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 Py_INCREF(Py_None
); resultobj
= Py_None
;
20862 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 (arg1
)->base_CreateControlBar();
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 Py_INCREF(Py_None
); resultobj
= Py_None
;
20886 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20889 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20891 return Py_BuildValue((char *)"");
20893 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20897 wxWindow
*arg3
= (wxWindow
*) 0 ;
20898 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20899 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20900 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20901 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20902 long arg6
= (long) 0 ;
20903 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20904 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20905 wxPyPreviewControlBar
*result
;
20908 bool temp7
= false ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj2
= 0 ;
20911 PyObject
* obj3
= 0 ;
20912 PyObject
* obj4
= 0 ;
20913 PyObject
* obj6
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20920 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20935 arg7
= wxString_in_helper(obj6
);
20936 if (arg7
== NULL
) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20962 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20965 PyObject
*arg2
= (PyObject
*) 0 ;
20966 PyObject
*arg3
= (PyObject
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 PyObject
* obj2
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self",(char *) "self",(char *) "_class", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 Py_INCREF(Py_None
); resultobj
= Py_None
;
20992 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20995 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self",(char *) "preview", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 (arg1
)->SetPrintPreview(arg2
);
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 Py_INCREF(Py_None
); resultobj
= Py_None
;
21019 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21021 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->base_CreateButtons();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21043 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "self",(char *) "zoom", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
21053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 (arg1
)->base_SetZoomControl(arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 Py_INCREF(Py_None
); resultobj
= Py_None
;
21068 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21071 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
21073 return Py_BuildValue((char *)"");
21075 static PyMethodDef SwigMethods
[] = {
21076 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
21081 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
21096 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
21097 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
21104 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
21113 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
21117 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
21132 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
21134 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
21155 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
21168 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
21172 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
21176 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
21181 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
21196 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
21222 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
21229 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
21252 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
21260 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
21272 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
21278 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
21287 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21292 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
21293 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
21297 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
21298 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21300 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
21304 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
21305 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
21308 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21312 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
21320 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21322 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21326 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21331 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21339 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21346 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21347 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21351 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21352 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21353 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21359 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21360 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21361 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
21363 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21364 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
21365 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21367 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21369 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21370 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21371 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21372 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21376 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21378 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21382 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21384 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21388 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21390 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21392 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21393 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21394 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21396 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21399 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21400 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21402 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21403 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21405 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21406 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21408 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21409 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21412 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21417 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21418 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21421 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21422 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21423 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21425 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21427 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21428 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21430 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21432 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21433 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21436 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21437 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21438 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21439 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21440 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21441 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21442 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21443 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21444 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21445 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21446 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21447 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21448 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21449 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21450 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21451 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21452 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21453 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21454 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21455 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21456 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21457 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21458 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21459 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21460 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21461 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21462 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21463 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21464 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21465 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21466 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21467 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21468 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21469 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21470 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21471 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21472 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21473 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21474 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21475 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21476 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21477 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21478 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21479 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21480 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21481 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21482 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21483 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21484 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21485 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21486 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21487 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21488 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21489 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21490 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21491 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21492 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21493 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21494 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21495 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21496 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21497 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21498 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21499 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21500 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21501 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21502 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21503 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21504 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21505 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21506 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21507 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21508 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21509 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21510 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21511 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21512 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21513 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21514 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21515 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21516 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21517 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21518 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21519 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21520 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21521 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21522 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21523 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21524 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21525 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21526 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21527 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21528 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21529 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21530 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21531 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21532 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21533 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21534 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21535 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21536 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21537 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21538 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21539 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21540 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21541 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21542 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21543 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21544 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21545 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21546 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21547 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21548 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21549 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21550 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21551 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21552 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21553 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21554 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21555 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21556 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21557 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21558 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21559 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21560 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21561 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21562 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21563 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21564 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21565 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21566 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21567 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21568 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21569 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21570 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21571 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21572 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21573 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21574 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21575 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21576 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21577 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21578 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21579 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21580 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21581 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21582 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21583 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21584 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21585 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21586 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21587 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21588 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21589 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21590 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21591 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21592 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21593 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21594 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21595 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21596 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21597 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21598 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21599 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21600 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21601 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21602 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21603 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21604 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21605 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21606 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21607 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21608 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21609 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21610 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21611 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21612 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21613 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21614 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21615 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21616 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21617 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21618 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21619 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21620 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21621 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21622 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21623 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21624 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21625 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21626 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21627 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21628 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21629 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21630 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21631 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21632 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21633 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21634 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21635 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21636 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21637 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21638 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21639 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21640 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21641 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21642 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21643 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21644 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21645 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21646 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21647 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21648 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21649 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21650 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21651 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21652 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21653 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21654 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21655 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21656 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21657 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21658 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21659 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21660 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21661 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21662 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21663 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21664 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21665 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21666 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21667 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21668 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21669 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21670 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21671 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21672 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21673 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21674 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21675 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21676 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21677 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21678 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21679 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21680 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21681 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21682 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21683 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21684 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21685 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21686 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21687 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21688 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21689 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21690 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21691 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21692 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21693 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21694 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21695 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21696 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21697 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21698 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21699 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21700 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21701 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21702 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21703 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21704 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21705 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21706 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21707 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21708 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21709 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21710 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21711 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21712 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21713 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21714 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21715 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21716 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21717 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21718 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21719 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21720 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21721 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21722 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21723 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21724 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21725 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21726 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21727 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21728 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21729 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21730 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21731 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21732 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21733 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21734 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21735 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21736 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21737 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21738 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21739 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21740 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21741 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21742 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21743 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21744 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21745 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21746 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21747 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21748 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21749 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21750 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21751 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21752 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21753 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21754 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21755 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21756 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21757 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21758 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21759 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21760 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21765 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21767 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21768 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21770 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21771 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21773 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21774 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21776 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21777 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21779 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21780 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21782 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21783 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21785 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21786 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21788 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21789 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21791 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21792 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21794 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21797 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21800 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21801 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21803 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21804 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21806 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21807 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21809 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21810 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21812 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21813 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21815 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21816 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21818 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21819 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21821 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21822 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21824 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21825 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21827 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21828 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21830 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21831 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21833 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21834 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21836 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21837 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21839 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21840 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21842 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21843 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21845 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21846 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21848 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21849 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21851 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21852 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21854 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21855 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21857 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21858 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21860 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21861 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21863 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21866 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21867 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21869 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21870 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21872 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21873 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21875 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21878 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21881 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21882 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21884 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21885 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21887 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21888 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21890 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21891 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21893 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21894 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21896 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21899 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21902 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21905 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21906 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21908 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21909 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21911 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21912 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21914 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21915 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21917 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21920 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21923 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21926 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21929 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21932 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21935 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21938 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21939 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21941 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21942 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21944 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21947 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21950 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21953 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21954 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21956 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21959 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21960 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21962 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21963 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21965 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21966 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21968 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21969 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21971 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21974 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21975 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21977 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21978 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21980 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21981 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21983 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21986 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21989 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21992 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21993 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21995 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21998 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21999 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
22001 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
22002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22004 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
22005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22007 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
22008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22010 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22013 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
22014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22016 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
22017 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
22019 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
22020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22022 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
22023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22025 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
22026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22028 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
22029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22031 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
22032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22034 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
22035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22037 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
22038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22040 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
22041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22043 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
22044 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22046 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
22047 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
22049 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
22050 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
22052 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
22053 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
22055 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
22056 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22058 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
22059 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
22061 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
22062 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
22064 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
22065 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
22067 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22068 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22070 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
22071 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
22073 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
22074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22076 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
22077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22079 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22080 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22082 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22083 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22085 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22088 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22089 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22091 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22092 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22094 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22095 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22097 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22098 return (void *)((wxObject
*) ((wxSizer
*) x
));
22100 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22101 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22103 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22106 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
22107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
22109 static void *_p_wxEventTo_p_wxObject(void *x
) {
22110 return (void *)((wxObject
*) ((wxEvent
*) x
));
22112 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
22113 return (void *)((wxObject
*) ((wxFontData
*) x
));
22115 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
22116 return (void *)((wxObject
*) ((wxPrintData
*) x
));
22118 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22119 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22121 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22122 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22124 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22125 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22127 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
22128 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
22130 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
22131 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
22133 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
22134 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22136 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22137 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22139 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22140 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22142 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22143 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22145 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22146 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22148 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22149 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22151 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22152 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22154 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
22155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22157 static void *_p_wxControlTo_p_wxObject(void *x
) {
22158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22160 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22161 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22163 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
22164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22166 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22167 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22169 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
22170 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
22172 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22173 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22175 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
22176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22178 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
22179 return (void *)((wxObject
*) ((wxColourData
*) x
));
22181 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22182 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22184 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22187 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
22188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
22190 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
22191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22193 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
22194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22196 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
22197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22199 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
22200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22202 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
22203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22205 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
22206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22208 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
22209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22211 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
22212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22214 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22215 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22217 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
22218 return (void *)((wxObject
*) ((wxPrinter
*) x
));
22220 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22221 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22223 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22224 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22226 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22229 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22230 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22232 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22233 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22235 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22236 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22238 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22239 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22241 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22242 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22244 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22245 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22247 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22250 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22253 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22256 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22259 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22260 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22262 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22265 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22266 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22268 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22269 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22271 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22272 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22274 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22277 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22278 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22280 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22283 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22284 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22286 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
22287 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
22289 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
22290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22292 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
22293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22295 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22296 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22298 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
22299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22301 static void *_p_wxImageTo_p_wxObject(void *x
) {
22302 return (void *)((wxObject
*) ((wxImage
*) x
));
22304 static void *_p_wxFrameTo_p_wxObject(void *x
) {
22305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22307 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
22308 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
22310 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22311 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22313 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
22314 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
22316 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
22317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
22319 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
22320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22322 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22325 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22326 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22328 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22329 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22331 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22334 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22335 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22337 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22338 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22340 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22343 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22346 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22349 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22352 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22355 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22358 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22361 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22364 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22367 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22370 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22373 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22376 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22377 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22379 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22380 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22382 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22385 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22388 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22391 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22394 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22397 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22400 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22403 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22404 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22406 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22409 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22410 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22412 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22413 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22415 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22416 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22418 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22419 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22421 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22422 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22424 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22427 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22428 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22430 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22433 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22436 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22437 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22439 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22440 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22442 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22445 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22448 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22449 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22451 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22452 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22454 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22457 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22458 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22460 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22461 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22463 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22464 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22466 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
22467 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22469 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22470 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22472 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22473 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22475 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22476 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22478 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22479 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22481 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22482 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22484 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22485 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22487 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22488 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22490 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22491 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22493 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22494 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22496 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22497 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22499 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22500 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22502 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22503 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22505 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22506 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22508 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22509 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22511 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22512 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22514 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22515 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22517 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22518 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22520 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22521 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22523 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22524 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22526 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22527 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22529 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22530 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22532 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22533 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22535 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22536 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22538 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22541 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22544 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22545 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22547 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22548 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22550 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22553 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22556 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22557 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22559 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22562 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22563 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22565 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22566 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22568 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22569 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22571 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22572 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22574 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22575 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22577 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22578 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22580 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22581 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22583 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22584 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22586 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22587 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22589 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22590 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22592 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22593 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22595 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22596 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22598 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22599 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22601 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22602 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22604 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22605 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22607 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22608 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22610 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22611 return (void *)((wxWindow
*) ((wxControl
*) x
));
22613 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22614 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22616 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22617 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22619 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22620 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22622 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22623 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22625 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22626 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22628 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22629 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22631 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22632 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22634 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22635 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22637 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22638 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22640 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22641 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22643 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22644 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22646 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22647 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22649 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22650 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22652 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22653 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22655 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22656 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22658 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22659 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22661 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22662 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22664 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22665 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22667 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22668 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22670 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22671 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22673 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22674 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22676 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22677 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22679 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22680 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22682 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22683 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22685 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22686 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22688 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22689 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22691 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22692 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22694 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22695 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22697 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22698 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22700 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22701 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22703 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22704 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22706 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22707 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22709 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22710 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22712 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22713 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22715 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22716 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22718 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22719 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22721 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22722 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22724 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22725 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22727 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22728 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22730 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22731 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22733 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22734 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22736 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22737 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22739 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22740 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22742 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22743 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22745 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22746 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22748 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22749 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22751 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22752 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22754 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22755 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22757 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22758 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22760 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22761 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22763 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22764 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22766 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22767 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22768 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22769 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22770 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22771 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22772 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22773 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22774 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}};
22775 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22776 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22777 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22778 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22779 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22780 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22781 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22782 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22783 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22784 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22785 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22786 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22787 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22788 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22789 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22790 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22791 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22792 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22793 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22794 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22795 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22796 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22797 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22798 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22799 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22800 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22801 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22802 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22803 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}};
22804 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22805 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22806 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22807 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22808 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22809 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22810 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}};
22811 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22812 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22813 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22814 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22815 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22816 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22817 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}};
22818 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22819 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22820 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22821 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22822 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22823 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22824 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}};
22825 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22826 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}};
22827 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22828 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}};
22829 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}};
22830 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22831 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22832 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22833 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22834 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22835 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22836 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22837 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22838 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22839 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}};
22840 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}};
22841 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22842 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22843 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22844 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}};
22845 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22846 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22847 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22848 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22849 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22850 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22851 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22853 static swig_type_info
*swig_types_initial
[] = {
22854 _swigt__p_wxQueryLayoutInfoEvent
,
22855 _swigt__p_wxPreviewFrame
,
22856 _swigt__p_wxPyPreviewFrame
,
22857 _swigt__p_wxAcceleratorEntry
,
22858 _swigt__p_wxPyPanel
,
22860 _swigt__p_wxPrintData
,
22861 _swigt__p_wxFontData
,
22863 _swigt__p_wxTaskBarIcon
,
22864 _swigt__p_wxIconBundle
,
22865 _swigt__p_wxLayoutAlgorithm
,
22866 _swigt__p_wxFindDialogEvent
,
22867 _swigt__p_wxPreviewCanvas
,
22869 _swigt__p_wxSplitterEvent
,
22870 _swigt__p_wxRegion
,
22871 _swigt__p_wxFindReplaceData
,
22876 _swigt__p_wxMDIChildFrame
,
22877 _swigt__p_wxColourData
,
22878 _swigt__p_wxNotifyEvent
,
22879 _swigt__p_wxPyWindow
,
22880 _swigt__p_wxSplashScreen
,
22881 _swigt__p_wxFindReplaceDialog
,
22882 _swigt__p_wxProgressDialog
,
22883 _swigt__p_wxMessageDialog
,
22884 _swigt__p_wxTextEntryDialog
,
22885 _swigt__p_wxSingleChoiceDialog
,
22886 _swigt__p_wxMultiChoiceDialog
,
22887 _swigt__p_wxFileDialog
,
22888 _swigt__p_wxPrinter
,
22889 _swigt__p_wxMenuItem
,
22890 _swigt__p_wxArrayInt
,
22891 _swigt__p_wxEvtHandler
,
22892 _swigt__p_wxCalculateLayoutEvent
,
22893 _swigt__p_wxPyHtmlListBox
,
22894 _swigt__p_wxPyVListBox
,
22896 _swigt__p_wxAcceleratorTable
,
22897 _swigt__p_wxMiniFrame
,
22899 _swigt__p_wxPyPrintout
,
22900 _swigt__p_wxTaskBarIconEvent
,
22901 _swigt__p_wxScrollWinEvent
,
22902 _swigt__p_wxStatusBar
,
22903 _swigt__p_wxMDIParentFrame
,
22905 _swigt__p_wxObject
,
22906 _swigt__p_unsigned_long
,
22907 _swigt__p_wxMDIClientWindow
,
22908 _swigt__p_wxTipWindow
,
22909 _swigt__p_wxSashLayoutWindow
,
22910 _swigt__p_wxSplitterWindow
,
22911 _swigt__p_wxSplashScreenWindow
,
22912 _swigt__p_wxPyVScrolledWindow
,
22913 _swigt__p_wxPyPopupTransientWindow
,
22914 _swigt__p_wxPopupWindow
,
22915 _swigt__p_wxSashWindow
,
22916 _swigt__p_wxTopLevelWindow
,
22917 _swigt__p_wxWindow
,
22918 _swigt__p_wxScrolledWindow
,
22919 _swigt__p_wxMenuBar
,
22920 _swigt__p_wxPrintPreview
,
22921 _swigt__p_wxSashEvent
,
22922 _swigt__p_wxString
,
22923 _swigt__p_wxPyPrintPreview
,
22924 _swigt__p_wxFontDialog
,
22925 _swigt__p_wxDirDialog
,
22926 _swigt__p_wxColourDialog
,
22927 _swigt__p_wxDialog
,
22929 _swigt__p_wxPageSetupDialog
,
22930 _swigt__p_wxPrintDialog
,
22931 _swigt__p_wxBitmap
,
22932 _swigt__p_wxCommandEvent
,
22933 _swigt__p_wxPrintQuality
,
22934 _swigt__p_wxPreviewControlBar
,
22935 _swigt__p_wxPyPreviewControlBar
,
22936 _swigt__p_wxColour
,
22937 _swigt__p_wxToolBar
,
22938 _swigt__p_wxPageSetupDialogData
,
22939 _swigt__p_wxPrintDialogData
,
22944 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22946 static swig_const_info swig_const_table
[] = {
22947 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22948 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22949 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22950 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22951 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22952 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22953 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22954 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22955 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22956 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22957 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22958 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22959 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22960 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22961 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22962 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22963 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22964 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22965 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22966 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22967 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22968 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22969 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22970 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22971 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22972 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22973 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22974 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22975 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22976 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22977 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22978 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22979 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22980 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22981 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22982 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22983 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22984 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22985 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22986 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22987 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22988 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22989 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22990 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22991 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22992 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22993 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22994 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22995 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22996 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22997 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22998 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22999 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
23000 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
23001 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
23002 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
23003 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
23004 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
23005 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
23006 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
23007 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
23008 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
23009 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
23010 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
23011 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
23012 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
23013 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
23014 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
23015 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
23016 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
23017 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
23018 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
23019 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
23020 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
23021 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
23022 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
23023 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
23024 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
23025 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23026 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23027 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23028 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23029 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23030 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23031 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23032 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23033 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
23034 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
23035 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
23036 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
23037 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
23038 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
23039 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
23040 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
23041 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
23042 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
23043 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
23044 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
23045 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
23046 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
23047 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
23048 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
23049 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
23050 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
23051 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
23052 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
23053 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
23054 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
23055 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
23065 SWIGEXPORT(void) SWIG_init(void) {
23066 static PyObject
*SWIG_globals
= 0;
23067 static int typeinit
= 0;
23070 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23071 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23072 d
= PyModule_GetDict(m
);
23075 for (i
= 0; swig_types_initial
[i
]; i
++) {
23076 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23080 SWIG_InstallConstants(d
,swig_const_table
);
23082 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23083 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
23084 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
23085 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
23086 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
23087 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
23088 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
23089 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
23090 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
23092 // Map renamed classes back to their common name for OOR
23093 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23094 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23095 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23097 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
23098 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
23099 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
23100 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
23101 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
23102 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
23103 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
23104 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
23105 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
23106 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
23107 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
23108 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
23110 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");