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 *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
219 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
220 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
221 #define SWIGTYPE_p_wxPyPanel swig_types[3]
222 #define SWIGTYPE_p_wxMenu swig_types[4]
223 #define SWIGTYPE_p_wxPrintData swig_types[5]
224 #define SWIGTYPE_p_wxFontData swig_types[6]
225 #define SWIGTYPE_p_wxEvent swig_types[7]
226 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
227 #define SWIGTYPE_p_wxIconBundle swig_types[9]
228 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
229 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
230 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
231 #define SWIGTYPE_p_wxFont swig_types[13]
232 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
233 #define SWIGTYPE_p_wxRegion swig_types[15]
234 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
235 #define SWIGTYPE_p_int swig_types[17]
236 #define SWIGTYPE_p_wxSize swig_types[18]
237 #define SWIGTYPE_p_wxDC swig_types[19]
238 #define SWIGTYPE_p_wxIcon swig_types[20]
239 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
240 #define SWIGTYPE_p_wxColourData swig_types[22]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
242 #define SWIGTYPE_p_wxPyWindow swig_types[24]
243 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
244 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
245 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
246 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
247 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
248 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
249 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
250 #define SWIGTYPE_p_wxFileDialog swig_types[32]
251 #define SWIGTYPE_p_wxPrinter swig_types[33]
252 #define SWIGTYPE_p_wxArrayInt swig_types[34]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
254 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
255 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
256 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
257 #define SWIGTYPE_p_wxRect swig_types[39]
258 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
259 #define SWIGTYPE_p_wxFrame swig_types[41]
260 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
261 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
262 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
263 #define SWIGTYPE_p_wxStatusBar swig_types[45]
264 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
265 #define SWIGTYPE_p_wxPoint swig_types[47]
266 #define SWIGTYPE_p_wxObject swig_types[48]
267 #define SWIGTYPE_p_unsigned_long swig_types[49]
268 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
269 #define SWIGTYPE_p_wxTipWindow swig_types[51]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[52]
271 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
272 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
273 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
274 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
275 #define SWIGTYPE_p_wxSashWindow swig_types[57]
276 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
277 #define SWIGTYPE_p_wxWindow swig_types[59]
278 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
279 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
280 #define SWIGTYPE_p_wxMenuBar swig_types[62]
281 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
282 #define SWIGTYPE_p_wxSashEvent swig_types[64]
283 #define SWIGTYPE_p_wxString swig_types[65]
284 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
286 #define SWIGTYPE_p_wxFontDialog swig_types[68]
287 #define SWIGTYPE_p_wxDirDialog swig_types[69]
288 #define SWIGTYPE_p_wxColourDialog swig_types[70]
289 #define SWIGTYPE_p_wxDialog swig_types[71]
290 #define SWIGTYPE_p_wxPanel swig_types[72]
291 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
292 #define SWIGTYPE_p_wxBitmap swig_types[74]
293 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
294 #define SWIGTYPE_p_wxPrintQuality swig_types[76]
295 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
296 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
297 #define SWIGTYPE_p_wxColour swig_types[79]
298 #define SWIGTYPE_p_wxToolBar swig_types[80]
299 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
300 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
301 static swig_type_info
*swig_types
[84];
303 /* -------- TYPES TABLE (END) -------- */
306 /*-----------------------------------------------
307 @(target):= _windows.so
308 ------------------------------------------------*/
309 #define SWIG_init init_windows
311 #define SWIG_name "_windows"
313 #include "wx/wxPython/wxPython.h"
314 #include "wx/wxPython/pyclasses.h"
316 DECLARE_DEF_STRING(PanelNameStr
);
317 DECLARE_DEF_STRING(EmptyString
);
323 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
329 } else if (target
== Py_None
) {
333 if (!PyTuple_Check(target
)) {
335 target
= PyTuple_New(1);
336 PyTuple_SetItem(target
, 0, o2
);
339 PyTuple_SetItem(o3
, 0, o
);
342 target
= PySequence_Concat(o2
, o3
);
350 // Put some wx default wxChar* values into wxStrings.
351 DECLARE_DEF_STRING(FrameNameStr
);
352 DECLARE_DEF_STRING(DialogNameStr
);
353 DECLARE_DEF_STRING(StatusLineNameStr
);
354 DECLARE_DEF_STRING(ToolBarNameStr
);
356 bool wxDialog_IsModalShowing(wxDialog
*self
){
360 return self
->IsModalShowing();
365 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
367 self
->GetFieldRect(i
, r
);
371 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
372 DECLARE_DEF_STRING(SplitterNameStr
);
375 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
376 DECLARE_DEF_STRING(SashNameStr
);
377 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
378 DECLARE_DEF_STRING(SashLayoutNameStr
);
381 #include <wx/popupwin.h>
384 class wxPopupWindow
: public wxWindow
{
386 wxPopupWindow(wxWindow
*, int) { PyErr_SetNone(PyExc_NotImplementedError
); }
387 wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError
); }
390 class wxPyPopupTransientWindow
: public wxPopupWindow
393 wxPyPopupTransientWindow(wxWindow
*, int) { PyErr_SetNone(PyExc_NotImplementedError
); }
394 wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError
); }
398 #include <wx/tipwin.h>
400 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
401 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
404 #include <wx/tipwin.h>
407 #include <wx/vscroll.h>
410 class wxPyVScrolledWindow
: public wxVScrolledWindow
412 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
414 wxPyVScrolledWindow() : wxVScrolledWindow() {}
416 wxPyVScrolledWindow(wxWindow
*parent
,
417 wxWindowID id
= wxID_ANY
,
418 const wxPoint
& pos
= wxDefaultPosition
,
419 const wxSize
& size
= wxDefaultSize
,
421 const wxString
& name
= wxPyPanelNameStr
)
422 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
425 // Overridable virtuals
427 // this function must be overridden in the derived class and it should
428 // return the height of the given line in pixels
429 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
432 // this function doesn't have to be overridden but it may be useful to do
433 // it if calculating the lines heights is a relatively expensive operation
434 // as it gives the user code a possibility to calculate several of them at
437 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
438 // shouldn't rely on the latter being called for all lines in the interval
439 // specified here. It is also possible that OnGetLineHeight() will be
440 // called for the lines outside of this interval, so this is really just a
441 // hint, not a promise.
443 // finally note that lineMin is inclusive, while lineMax is exclusive, as
445 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
448 // when the number of lines changes, we try to estimate the total height
449 // of all lines which is a rather expensive operation in terms of lines
450 // access, so if the user code may estimate the average height
451 // better/faster than we do, it should override this function to implement
454 // this function should return the best guess for the total height it may
456 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
459 // Also expose some other interesting protected methods
462 // find the index of the line we need to show at the top of the window such
463 // that the last (fully or partially) visible line is the given one
464 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
465 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
467 // get the total height of the lines between lineMin (inclusive) and
468 // lineMax (exclusive)
469 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
470 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
476 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
478 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
479 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
480 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
483 #include <wx/vlbox.h>
484 DECLARE_DEF_STRING(VListBoxNameStr
);
487 class wxPyVListBox
: public wxVListBox
489 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
491 wxPyVListBox() : wxVListBox() {}
493 wxPyVListBox(wxWindow
*parent
,
494 wxWindowID id
= wxID_ANY
,
495 const wxPoint
& pos
= wxDefaultPosition
,
496 const wxSize
& size
= wxDefaultSize
,
498 const wxString
& name
= wxPyVListBoxNameStr
)
499 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
502 // Overridable virtuals
504 // the derived class must implement this function to actually draw the item
505 // with the given index on the provided DC
506 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
507 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
510 // the derived class must implement this method to return the height of the
512 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
513 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
516 // this method may be used to draw separators between the lines; note that
517 // the rectangle may be modified, typically to deflate it a bit before
518 // passing to OnDrawItem()
520 // the base class version doesn't do anything
521 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
522 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
525 // this method is used to draw the items background and, maybe, a border
528 // the base class version implements a reasonable default behaviour which
529 // consists in drawing the selected item with the standard background
530 // colour and drawing a border around the item if it is either selected or
532 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
533 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
539 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
541 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
542 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
543 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
544 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
548 #include <wx/htmllbox.h>
551 class wxPyHtmlListBox
: public wxHtmlListBox
553 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
555 wxPyHtmlListBox() : wxHtmlListBox() {}
557 wxPyHtmlListBox(wxWindow
*parent
,
558 wxWindowID id
= wxID_ANY
,
559 const wxPoint
& pos
= wxDefaultPosition
,
560 const wxSize
& size
= wxDefaultSize
,
562 const wxString
& name
= wxPyVListBoxNameStr
)
563 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
566 // Overridable virtuals
568 // this method must be implemented in the derived class and should return
569 // the body (i.e. without <html>) of the HTML for the given item
570 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
572 // this function may be overridden to decorate HTML returned by OnGetItem()
573 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
576 // // this method allows to customize the selection appearance: it may be used
577 // // to specify the colour of the text which normally has the given colour
578 // // colFg when it is inside the selection
580 // // by default, the original colour is not used at all and all text has the
581 // // same (default for this system) colour inside selection
582 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
584 // // this is the same as GetSelectedTextColour() but allows to customize the
585 // // background colour -- this is even more rarely used as you can change it
586 // // globally using SetSelectionBackground()
587 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
594 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
596 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
597 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
604 // implement dummy classes and such for wxMac
606 class wxTaskBarIcon
: public wxEvtHandler
609 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError
); }
613 class wxTaskBarIconEvent
: public wxEvent
616 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
617 { PyErr_SetNone(PyExc_NotImplementedError
); }
618 virtual wxEvent
* Clone() const { return NULL
; }
622 wxEVT_TASKBAR_MOVE
= 0,
623 wxEVT_TASKBAR_LEFT_DOWN
= 0,
624 wxEVT_TASKBAR_LEFT_UP
= 0,
625 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
626 wxEVT_TASKBAR_RIGHT_UP
= 0,
627 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
628 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
634 DECLARE_DEF_STRING(FileSelectorPromptStr
);
635 DECLARE_DEF_STRING(DirSelectorPromptStr
);
636 DECLARE_DEF_STRING(DirDialogNameStr
);
637 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
638 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
639 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
642 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
644 self
->GetFilenames(arr
);
645 return wxArrayString2PyList_helper(arr
);
647 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
650 return wxArrayString2PyList_helper(arr
);
652 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
653 return wxArrayInt2PyList_helper(self
->GetSelections());
655 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
656 return new wxSingleChoiceDialog(parent
, message
, caption
,
657 choices
, choices_array
, NULL
, style
, pos
);
662 // C++ version of Python aware wxWindow
663 class wxPyWindow
: public wxWindow
665 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
667 wxPyWindow() : wxWindow() {}
668 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
669 const wxPoint
& pos
= wxDefaultPosition
,
670 const wxSize
& size
= wxDefaultSize
,
672 const wxString
& name
= wxPyPanelNameStr
)
673 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
676 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
677 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
678 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
679 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
682 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
683 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
685 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
686 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
688 DEC_PYCALLBACK__(InitDialog
);
689 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
690 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
691 DEC_PYCALLBACK_BOOL_(Validate
);
693 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
694 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
695 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
697 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
698 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
703 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
705 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
706 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
707 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
708 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
710 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
711 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
712 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
714 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
715 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
717 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
718 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
719 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
720 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
722 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
723 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
724 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
726 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
727 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
730 // C++ version of Python aware wxPanel
731 class wxPyPanel
: public wxPanel
733 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
735 wxPyPanel() : wxPanel() {}
736 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
737 const wxPoint
& pos
= wxDefaultPosition
,
738 const wxSize
& size
= wxDefaultSize
,
740 const wxString
& name
= wxPyPanelNameStr
)
741 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
744 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
745 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
753 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
754 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
756 DEC_PYCALLBACK__(InitDialog
);
757 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
758 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
759 DEC_PYCALLBACK_BOOL_(Validate
);
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
763 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
765 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
766 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
771 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
773 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
774 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
776 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
780 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
782 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
783 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
785 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
786 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
787 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
788 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
790 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
791 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
792 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
795 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
799 #include "wx/wxPython/printfw.h"
801 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
802 DECLARE_DEF_STRING(PrintoutTitleStr
);
803 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
804 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
810 // Since this one would be tough and ugly to do with the Macros...
811 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
815 wxPyBeginBlockThreads();
816 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
817 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
818 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
821 val
= PyTuple_GetItem(result
, 0);
822 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
825 val
= PyTuple_GetItem(result
, 1);
826 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
829 val
= PyTuple_GetItem(result
, 2);
830 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
833 val
= PyTuple_GetItem(result
, 3);
834 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
841 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
846 wxPyEndBlockThreads();
848 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
851 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
852 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
856 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
857 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
858 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
859 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
860 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
861 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
862 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
868 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
869 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
870 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
873 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
874 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
877 wxPyBeginBlockThreads(); \
878 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
879 PyObject* win = wxPyMake_wxObject(a); \
880 PyObject* dc = wxPyMake_wxObject(&b); \
881 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
885 wxPyEndBlockThreads(); \
887 rval = PCLASS::CBNAME(a, b); \
890 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
891 return PCLASS::CBNAME(a, b); \
897 class wxPyPrintPreview
: public wxPrintPreview
899 DECLARE_CLASS(wxPyPrintPreview
)
901 wxPyPrintPreview(wxPyPrintout
* printout
,
902 wxPyPrintout
* printoutForPrinting
,
903 wxPrintData
* data
=NULL
)
904 : wxPrintPreview(printout
, printoutForPrinting
, data
)
907 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
908 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
909 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
910 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
911 DEC_PYCALLBACK_VOID_INT(SetZoom
);
912 DEC_PYCALLBACK_BOOL_BOOL(Print
);
913 DEC_PYCALLBACK_VOID_(DetermineScaling
);
918 // Stupid renamed classes... Fix this in 2.5...
919 #if defined(__WXMSW__)
920 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
921 #elif defined(__WXMAC__)
922 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
924 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
927 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
928 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
929 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
930 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
931 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
932 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
933 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
936 class wxPyPreviewFrame
: public wxPreviewFrame
938 DECLARE_CLASS(wxPyPreviewFrame
);
940 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
941 const wxString
& title
,
942 const wxPoint
& pos
= wxDefaultPosition
,
943 const wxSize
& size
= wxDefaultSize
,
944 long style
= wxDEFAULT_FRAME_STYLE
,
945 const wxString
& name
= wxPyFrameNameStr
)
946 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
949 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
950 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
952 DEC_PYCALLBACK_VOID_(Initialize
);
953 DEC_PYCALLBACK_VOID_(CreateCanvas
);
954 DEC_PYCALLBACK_VOID_(CreateControlBar
);
959 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
961 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
962 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
963 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
966 class wxPyPreviewControlBar
: public wxPreviewControlBar
968 DECLARE_CLASS(wxPyPreviewControlBar
);
970 wxPyPreviewControlBar(wxPrintPreview
*preview
,
973 const wxPoint
& pos
= wxDefaultPosition
,
974 const wxSize
& size
= wxDefaultSize
,
976 const wxString
& name
= wxPyPanelNameStr
)
977 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
980 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
982 DEC_PYCALLBACK_VOID_(CreateButtons
);
983 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
988 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
989 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
990 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
995 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 wxWindow
*arg1
= (wxWindow
*) 0 ;
998 int arg2
= (int) (int)-1 ;
999 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1000 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1001 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1002 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1003 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1004 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1005 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1009 bool temp6
= False
;
1010 PyObject
* obj0
= 0 ;
1011 PyObject
* obj2
= 0 ;
1012 PyObject
* obj3
= 0 ;
1013 PyObject
* obj5
= 0 ;
1015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1034 arg6
= wxString_in_helper(obj5
);
1035 if (arg6
== NULL
) SWIG_fail
;
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) SWIG_fail
;
1046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1061 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
*resultobj
;
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 result
= (wxPanel
*)new wxPanel();
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) SWIG_fail
;
1076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1083 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
*resultobj
;
1085 wxPanel
*arg1
= (wxPanel
*) 0 ;
1086 wxWindow
*arg2
= (wxWindow
*) 0 ;
1088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1092 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1093 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1098 bool temp7
= False
;
1099 PyObject
* obj0
= 0 ;
1100 PyObject
* obj1
= 0 ;
1101 PyObject
* obj3
= 0 ;
1102 PyObject
* obj4
= 0 ;
1103 PyObject
* obj6
= 0 ;
1105 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1125 arg7
= wxString_in_helper(obj6
);
1126 if (arg7
== NULL
) SWIG_fail
;
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) SWIG_fail
;
1137 resultobj
= PyInt_FromLong((long)result
);
1152 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
*resultobj
;
1154 wxPanel
*arg1
= (wxPanel
*) 0 ;
1155 PyObject
* obj0
= 0 ;
1157 (char *) "self", NULL
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 (arg1
)->InitDialog();
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) SWIG_fail
;
1169 Py_INCREF(Py_None
); resultobj
= Py_None
;
1176 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1179 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1181 return Py_BuildValue((char *)"");
1183 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
*resultobj
;
1185 wxWindow
*arg1
= (wxWindow
*) 0 ;
1186 int arg2
= (int) (int)-1 ;
1187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1191 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1192 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1193 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1194 wxScrolledWindow
*result
;
1197 bool temp6
= False
;
1198 PyObject
* obj0
= 0 ;
1199 PyObject
* obj2
= 0 ;
1200 PyObject
* obj3
= 0 ;
1201 PyObject
* obj5
= 0 ;
1203 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1222 arg6
= wxString_in_helper(obj5
);
1223 if (arg6
== NULL
) SWIG_fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1249 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1251 wxScrolledWindow
*result
;
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1271 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1274 wxWindow
*arg2
= (wxWindow
*) 0 ;
1275 int arg3
= (int) (int)-1 ;
1276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1280 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1281 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1286 bool temp7
= False
;
1287 PyObject
* obj0
= 0 ;
1288 PyObject
* obj1
= 0 ;
1289 PyObject
* obj3
= 0 ;
1290 PyObject
* obj4
= 0 ;
1291 PyObject
* obj6
= 0 ;
1293 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1313 arg7
= wxString_in_helper(obj6
);
1314 if (arg7
== NULL
) SWIG_fail
;
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1320 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1325 resultobj
= PyInt_FromLong((long)result
);
1340 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
*resultobj
;
1342 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1347 int arg6
= (int) 0 ;
1348 int arg7
= (int) 0 ;
1349 bool arg8
= (bool) False
;
1350 PyObject
* obj0
= 0 ;
1351 PyObject
* obj7
= 0 ;
1353 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1359 arg8
= PyInt_AsLong(obj7
) ? true : false;
1360 if (PyErr_Occurred()) SWIG_fail
;
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1369 Py_INCREF(Py_None
); resultobj
= Py_None
;
1376 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
*resultobj
;
1378 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1381 PyObject
* obj0
= 0 ;
1383 (char *) "self",(char *) "x",(char *) "y", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 (arg1
)->Scroll(arg2
,arg3
);
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1395 Py_INCREF(Py_None
); resultobj
= Py_None
;
1402 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
*resultobj
;
1404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1407 PyObject
* obj0
= 0 ;
1409 (char *) "self",(char *) "orient", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1421 resultobj
= PyInt_FromLong((long)result
);
1428 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
*resultobj
;
1430 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1433 PyObject
* obj0
= 0 ;
1435 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1442 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1444 wxPyEndAllowThreads(__tstate
);
1445 if (PyErr_Occurred()) SWIG_fail
;
1447 Py_INCREF(Py_None
); resultobj
= Py_None
;
1454 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1459 PyObject
* obj0
= 0 ;
1461 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 (arg1
)->SetScrollRate(arg2
,arg3
);
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1473 Py_INCREF(Py_None
); resultobj
= Py_None
;
1480 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1483 int *arg2
= (int *) 0 ;
1484 int *arg3
= (int *) 0 ;
1487 PyObject
* obj0
= 0 ;
1489 (char *) "self", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1503 Py_INCREF(Py_None
); resultobj
= Py_None
;
1505 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1506 resultobj
= t_output_helper(resultobj
,o
);
1509 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1510 resultobj
= t_output_helper(resultobj
,o
);
1518 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1523 PyObject
* obj0
= 0 ;
1524 PyObject
* obj1
= 0 ;
1525 PyObject
* obj2
= 0 ;
1527 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1532 arg2
= PyInt_AsLong(obj1
) ? true : false;
1533 if (PyErr_Occurred()) SWIG_fail
;
1534 arg3
= PyInt_AsLong(obj2
) ? true : false;
1535 if (PyErr_Occurred()) SWIG_fail
;
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 (arg1
)->EnableScrolling(arg2
,arg3
);
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) SWIG_fail
;
1543 Py_INCREF(Py_None
); resultobj
= Py_None
;
1550 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
*resultobj
;
1552 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1553 int *arg2
= (int *) 0 ;
1554 int *arg3
= (int *) 0 ;
1557 PyObject
* obj0
= 0 ;
1559 (char *) "self", NULL
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) SWIG_fail
;
1573 Py_INCREF(Py_None
); resultobj
= Py_None
;
1575 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1576 resultobj
= t_output_helper(resultobj
,o
);
1579 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1580 resultobj
= t_output_helper(resultobj
,o
);
1588 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
*resultobj
;
1590 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1595 (char *) "self",(char *) "xs",(char *) "ys", NULL
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 (arg1
)->SetScale(arg2
,arg3
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1607 Py_INCREF(Py_None
); resultobj
= Py_None
;
1614 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1618 PyObject
* obj0
= 0 ;
1620 (char *) "self", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= PyFloat_FromDouble(result
);
1639 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "self", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1657 resultobj
= PyFloat_FromDouble(result
);
1664 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1665 PyObject
*resultobj
;
1666 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1670 PyObject
* obj0
= 0 ;
1671 PyObject
* obj1
= 0 ;
1673 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1687 wxPoint
* resultptr
;
1688 resultptr
= new wxPoint((wxPoint
&) result
);
1689 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1697 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1698 PyObject
*resultobj
;
1699 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1702 int *arg4
= (int *) 0 ;
1703 int *arg5
= (int *) 0 ;
1706 PyObject
* obj0
= 0 ;
1710 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 Py_INCREF(Py_None
); resultobj
= Py_None
;
1721 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1722 resultobj
= t_output_helper(resultobj
,o
);
1725 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1726 resultobj
= t_output_helper(resultobj
,o
);
1734 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1739 argc
= PyObject_Length(args
);
1740 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1741 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1747 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1756 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1759 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1767 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1776 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1780 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1783 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1789 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1794 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1795 PyObject
*resultobj
;
1796 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1800 PyObject
* obj0
= 0 ;
1801 PyObject
* obj1
= 0 ;
1803 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1817 wxPoint
* resultptr
;
1818 resultptr
= new wxPoint((wxPoint
&) result
);
1819 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1827 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1828 PyObject
*resultobj
;
1829 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1832 int *arg4
= (int *) 0 ;
1833 int *arg5
= (int *) 0 ;
1836 PyObject
* obj0
= 0 ;
1840 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1851 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1852 resultobj
= t_output_helper(resultobj
,o
);
1855 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1856 resultobj
= t_output_helper(resultobj
,o
);
1864 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1869 argc
= PyObject_Length(args
);
1870 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1871 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1877 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1886 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1889 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1897 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1906 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1910 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1913 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1919 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1924 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1929 (char *) "self", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 (arg1
)->AdjustScrollbars();
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1941 Py_INCREF(Py_None
); resultobj
= Py_None
;
1948 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1951 wxScrollWinEvent
*arg2
= 0 ;
1953 PyObject
* obj0
= 0 ;
1954 PyObject
* obj1
= 0 ;
1956 (char *) "self",(char *) "event", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 resultobj
= PyInt_FromLong((long)result
);
1979 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1982 wxWindow
*arg2
= (wxWindow
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "self",(char *) "target", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 (arg1
)->SetTargetWindow(arg2
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 Py_INCREF(Py_None
); resultobj
= Py_None
;
2006 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2010 PyObject
* obj0
= 0 ;
2012 (char *) "self", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= wxPyMake_wxObject(result
);
2033 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "rect", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2048 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 Py_INCREF(Py_None
); resultobj
= Py_None
;
2064 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2070 (char *) "self", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2084 resultptr
= new wxRect((wxRect
&) result
);
2085 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2093 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2096 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2098 return Py_BuildValue((char *)"");
2100 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2103 bool arg2
= (bool) True
;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "maximize", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2113 arg2
= PyInt_AsLong(obj1
) ? true : false;
2114 if (PyErr_Occurred()) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 (arg1
)->Maximize(arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 Py_INCREF(Py_None
); resultobj
= Py_None
;
2130 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "self", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2157 bool arg2
= (bool) True
;
2158 PyObject
* obj0
= 0 ;
2159 PyObject
* obj1
= 0 ;
2161 (char *) "self",(char *) "iconize", NULL
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2167 arg2
= PyInt_AsLong(obj1
) ? true : false;
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 (arg1
)->Iconize(arg2
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 Py_INCREF(Py_None
); resultobj
= Py_None
;
2184 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "self", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 resultobj
= PyInt_FromLong((long)result
);
2209 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= PyInt_FromLong((long)result
);
2234 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2254 resultptr
= new wxIcon((wxIcon
&) result
);
2255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2263 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 (char *) "self",(char *) "icon", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 Py_INCREF(Py_None
); resultobj
= Py_None
;
2293 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2296 wxIconBundle
*arg2
= 0 ;
2297 PyObject
* obj0
= 0 ;
2298 PyObject
* obj1
= 0 ;
2300 (char *) "self",(char *) "icons", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2327 long arg3
= (long) wxFULLSCREEN_ALL
;
2329 PyObject
* obj0
= 0 ;
2330 PyObject
* obj1
= 0 ;
2332 (char *) "self",(char *) "show",(char *) "style", NULL
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2337 arg2
= PyInt_AsLong(obj1
) ? true : false;
2338 if (PyErr_Occurred()) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= PyInt_FromLong((long)result
);
2353 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2357 PyObject
* obj0
= 0 ;
2359 (char *) "self", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 resultobj
= PyInt_FromLong((long)result
);
2378 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2381 wxString
*arg2
= 0 ;
2382 bool temp2
= False
;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "self",(char *) "title", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2392 arg2
= wxString_in_helper(obj1
);
2393 if (arg2
== NULL
) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->SetTitle((wxString
const &)*arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2424 (char *) "self", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2449 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2452 wxRegion
*arg2
= 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "region", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 resultobj
= PyInt_FromLong((long)result
);
2480 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2483 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2485 return Py_BuildValue((char *)"");
2487 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxWindow
*arg1
= (wxWindow
*) 0 ;
2491 wxString
*arg3
= 0 ;
2492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2496 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2497 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2500 bool temp3
= False
;
2503 bool temp7
= False
;
2504 PyObject
* obj0
= 0 ;
2505 PyObject
* obj2
= 0 ;
2506 PyObject
* obj3
= 0 ;
2507 PyObject
* obj4
= 0 ;
2508 PyObject
* obj6
= 0 ;
2510 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2516 arg3
= wxString_in_helper(obj2
);
2517 if (arg3
== NULL
) SWIG_fail
;
2523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2534 arg7
= wxString_in_helper(obj6
);
2535 if (arg7
== NULL
) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2547 resultobj
= wxPyMake_wxObject(result
);
2571 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (wxFrame
*)new wxFrame();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= wxPyMake_wxObject(result
);
2595 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxFrame
*arg1
= (wxFrame
*) 0 ;
2598 wxWindow
*arg2
= (wxWindow
*) 0 ;
2600 wxString
*arg4
= 0 ;
2601 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2602 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2603 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2604 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2605 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2606 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2609 bool temp4
= False
;
2612 bool temp8
= False
;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2615 PyObject
* obj3
= 0 ;
2616 PyObject
* obj4
= 0 ;
2617 PyObject
* obj5
= 0 ;
2618 PyObject
* obj7
= 0 ;
2620 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2627 arg4
= wxString_in_helper(obj3
);
2628 if (arg4
== NULL
) SWIG_fail
;
2634 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2640 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2645 arg8
= wxString_in_helper(obj7
);
2646 if (arg8
== NULL
) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= PyInt_FromLong((long)result
);
2680 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxFrame
*arg1
= (wxFrame
*) 0 ;
2684 PyObject
* obj0
= 0 ;
2686 (char *) "self", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 wxPoint
* resultptr
;
2700 resultptr
= new wxPoint((wxPoint
&) result
);
2701 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2709 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxFrame
*arg1
= (wxFrame
*) 0 ;
2712 PyObject
* obj0
= 0 ;
2714 (char *) "self", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 (arg1
)->SendSizeEvent();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxFrame
*arg1
= (wxFrame
*) 0 ;
2736 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2740 (char *) "self",(char *) "menubar", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->SetMenuBar(arg2
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxFrame
*arg1
= (wxFrame
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2766 (char *) "self", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= wxPyMake_wxObject(result
);
2787 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxFrame
*arg1
= (wxFrame
*) 0 ;
2792 PyObject
* obj0
= 0 ;
2794 (char *) "self",(char *) "winid", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 result
= (bool)(arg1
)->ProcessCommand(arg2
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2806 resultobj
= PyInt_FromLong((long)result
);
2813 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
*resultobj
;
2815 wxFrame
*arg1
= (wxFrame
*) 0 ;
2816 int arg2
= (int) 1 ;
2817 long arg3
= (long) wxST_SIZEGRIP
;
2818 int arg4
= (int) 0 ;
2819 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
2820 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2821 wxStatusBar
*result
;
2822 bool temp5
= False
;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj4
= 0 ;
2826 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2833 arg5
= wxString_in_helper(obj4
);
2834 if (arg5
== NULL
) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 resultobj
= wxPyMake_wxObject(result
);
2862 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxFrame
*arg1
= (wxFrame
*) 0 ;
2865 wxStatusBar
*result
;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 resultobj
= wxPyMake_wxObject(result
);
2889 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxFrame
*arg1
= (wxFrame
*) 0 ;
2892 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
2893 PyObject
* obj0
= 0 ;
2894 PyObject
* obj1
= 0 ;
2896 (char *) "self",(char *) "statBar", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 (arg1
)->SetStatusBar(arg2
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2909 Py_INCREF(Py_None
); resultobj
= Py_None
;
2916 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxFrame
*arg1
= (wxFrame
*) 0 ;
2919 wxString
*arg2
= 0 ;
2920 int arg3
= (int) 0 ;
2921 bool temp2
= False
;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2925 (char *) "self",(char *) "text",(char *) "number", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2931 arg2
= wxString_in_helper(obj1
);
2932 if (arg2
== NULL
) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 Py_INCREF(Py_None
); resultobj
= Py_None
;
2957 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxFrame
*arg1
= (wxFrame
*) 0 ;
2961 int *arg3
= (int *) 0 ;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2965 (char *) "self",(char *) "widths", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2971 arg2
= PyList_Size(obj1
);
2972 arg3
= int_LIST_helper(obj1
);
2973 if (arg3
== NULL
) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2982 Py_INCREF(Py_None
); resultobj
= Py_None
;
2984 if (arg3
) delete [] arg3
;
2989 if (arg3
) delete [] arg3
;
2995 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxFrame
*arg1
= (wxFrame
*) 0 ;
2998 wxString
*arg2
= 0 ;
2999 int arg3
= (int) 0 ;
3000 bool temp2
= False
;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "text",(char *) "number", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3010 arg2
= wxString_in_helper(obj1
);
3011 if (arg2
== NULL
) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3036 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxFrame
*arg1
= (wxFrame
*) 0 ;
3039 int arg2
= (int) 0 ;
3040 PyObject
* obj0
= 0 ;
3042 (char *) "self",(char *) "number", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 (arg1
)->PopStatusText(arg2
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxFrame
*arg1
= (wxFrame
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3067 (char *) "self",(char *) "n", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 (arg1
)->SetStatusBarPane(arg2
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 Py_INCREF(Py_None
); resultobj
= Py_None
;
3086 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxFrame
*arg1
= (wxFrame
*) 0 ;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "self", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= PyInt_FromLong((long)result
);
3111 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxFrame
*arg1
= (wxFrame
*) 0 ;
3114 long arg2
= (long) -1 ;
3115 int arg3
= (int) -1 ;
3116 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3119 bool temp4
= False
;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj3
= 0 ;
3123 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3130 arg4
= wxString_in_helper(obj3
);
3131 if (arg4
== NULL
) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3143 resultobj
= wxPyMake_wxObject(result
);
3159 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxFrame
*arg1
= (wxFrame
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= wxPyMake_wxObject(result
);
3186 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxFrame
*arg1
= (wxFrame
*) 0 ;
3189 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3190 PyObject
* obj0
= 0 ;
3191 PyObject
* obj1
= 0 ;
3193 (char *) "self",(char *) "toolbar", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 (arg1
)->SetToolBar(arg2
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxFrame
*arg1
= (wxFrame
*) 0 ;
3216 wxString
*arg2
= 0 ;
3218 bool temp2
= False
;
3219 PyObject
* obj0
= 0 ;
3220 PyObject
* obj1
= 0 ;
3221 PyObject
* obj2
= 0 ;
3223 (char *) "self",(char *) "text",(char *) "show", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3229 arg2
= wxString_in_helper(obj1
);
3230 if (arg2
== NULL
) SWIG_fail
;
3233 arg3
= PyInt_AsLong(obj2
) ? true : false;
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxFrame
*arg1
= (wxFrame
*) 0 ;
3260 wxMenu
*arg2
= (wxMenu
*) NULL
;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3264 (char *) "self",(char *) "menu", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->DoMenuUpdates(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3289 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3291 return Py_BuildValue((char *)"");
3293 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxWindow
*arg1
= (wxWindow
*) 0 ;
3297 wxString
*arg3
= 0 ;
3298 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3299 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3300 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3301 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3302 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3303 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3304 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3306 bool temp3
= False
;
3309 bool temp7
= False
;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj2
= 0 ;
3312 PyObject
* obj3
= 0 ;
3313 PyObject
* obj4
= 0 ;
3314 PyObject
* obj6
= 0 ;
3316 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3322 arg3
= wxString_in_helper(obj2
);
3323 if (arg3
== NULL
) SWIG_fail
;
3329 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3335 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3340 arg7
= wxString_in_helper(obj6
);
3341 if (arg7
== NULL
) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3375 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 result
= (wxDialog
*)new wxDialog();
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3397 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxDialog
*arg1
= (wxDialog
*) 0 ;
3400 wxWindow
*arg2
= (wxWindow
*) 0 ;
3402 wxString
*arg4
= 0 ;
3403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3407 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3408 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3409 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3411 bool temp4
= False
;
3414 bool temp8
= False
;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3417 PyObject
* obj3
= 0 ;
3418 PyObject
* obj4
= 0 ;
3419 PyObject
* obj5
= 0 ;
3420 PyObject
* obj7
= 0 ;
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3429 arg4
= wxString_in_helper(obj3
);
3430 if (arg4
== NULL
) SWIG_fail
;
3436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3442 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3447 arg8
= wxString_in_helper(obj7
);
3448 if (arg8
== NULL
) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= PyInt_FromLong((long)result
);
3482 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxDialog
*arg1
= (wxDialog
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3488 (char *) "self",(char *) "returnCode", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 (arg1
)->SetReturnCode(arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxDialog
*arg1
= (wxDialog
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3513 (char *) "self", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= PyInt_FromLong((long)result
);
3532 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxDialog
*arg1
= (wxDialog
*) 0 ;
3535 wxString
*arg2
= 0 ;
3537 bool temp2
= False
;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3541 (char *) "self",(char *) "message", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3547 arg2
= wxString_in_helper(obj1
);
3548 if (arg2
== NULL
) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= wxPyMake_wxSizer(result
);
3575 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxDialog
*arg1
= (wxDialog
*) 0 ;
3580 PyObject
* obj0
= 0 ;
3582 (char *) "self",(char *) "flags", NULL
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= wxPyMake_wxSizer(result
);
3603 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxDialog
*arg1
= (wxDialog
*) 0 ;
3607 PyObject
* obj0
= 0 ;
3608 PyObject
* obj1
= 0 ;
3610 (char *) "self",(char *) "flag", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3615 arg2
= PyInt_AsLong(obj1
) ? true : false;
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 (arg1
)->SetModal(arg2
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 Py_INCREF(Py_None
); resultobj
= Py_None
;
3631 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3633 wxDialog
*arg1
= (wxDialog
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3637 (char *) "self", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 resultobj
= PyInt_FromLong((long)result
);
3656 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxDialog
*arg1
= (wxDialog
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (int)(arg1
)->ShowModal();
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= PyInt_FromLong((long)result
);
3681 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxDialog
*arg1
= (wxDialog
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3687 (char *) "self",(char *) "retCode", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->EndModal(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxDialog
*arg1
= (wxDialog
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (bool)wxDialog_IsModalShowing(arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= PyInt_FromLong((long)result
);
3731 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3734 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3736 return Py_BuildValue((char *)"");
3738 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxWindow
*arg1
= (wxWindow
*) 0 ;
3742 wxString
*arg3
= 0 ;
3743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3747 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3748 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3749 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3750 wxMiniFrame
*result
;
3751 bool temp3
= False
;
3754 bool temp7
= False
;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj2
= 0 ;
3757 PyObject
* obj3
= 0 ;
3758 PyObject
* obj4
= 0 ;
3759 PyObject
* obj6
= 0 ;
3761 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3767 arg3
= wxString_in_helper(obj2
);
3768 if (arg3
== NULL
) SWIG_fail
;
3774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3785 arg7
= wxString_in_helper(obj6
);
3786 if (arg7
== NULL
) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3820 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxMiniFrame
*result
;
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (wxMiniFrame
*)new wxMiniFrame();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3842 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
3845 wxWindow
*arg2
= (wxWindow
*) 0 ;
3847 wxString
*arg4
= 0 ;
3848 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3849 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3850 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3851 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3852 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3853 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3854 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3856 bool temp4
= False
;
3859 bool temp8
= False
;
3860 PyObject
* obj0
= 0 ;
3861 PyObject
* obj1
= 0 ;
3862 PyObject
* obj3
= 0 ;
3863 PyObject
* obj4
= 0 ;
3864 PyObject
* obj5
= 0 ;
3865 PyObject
* obj7
= 0 ;
3867 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3874 arg4
= wxString_in_helper(obj3
);
3875 if (arg4
== NULL
) SWIG_fail
;
3881 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3887 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3892 arg8
= wxString_in_helper(obj7
);
3893 if (arg8
== NULL
) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= PyInt_FromLong((long)result
);
3927 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
3929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
3932 return Py_BuildValue((char *)"");
3934 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxBitmap
*arg1
= 0 ;
3937 wxWindow
*arg2
= (wxWindow
*) 0 ;
3939 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3940 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3941 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3942 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3943 long arg6
= (long) wxNO_BORDER
;
3944 wxSplashScreenWindow
*result
;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3949 PyObject
* obj3
= 0 ;
3950 PyObject
* obj4
= 0 ;
3952 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
3987 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
3990 wxBitmap
*arg2
= 0 ;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3994 (char *) "self",(char *) "bitmap", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4001 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4017 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4023 (char *) "self", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4032 result
= (wxBitmap
*) &_result_ref
;
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4045 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4048 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4050 return Py_BuildValue((char *)"");
4052 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxBitmap
*arg1
= 0 ;
4057 wxWindow
*arg4
= (wxWindow
*) 0 ;
4059 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4060 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4061 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4062 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4063 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4064 wxSplashScreen
*result
;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj3
= 0 ;
4069 PyObject
* obj5
= 0 ;
4070 PyObject
* obj6
= 0 ;
4072 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4080 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4084 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4090 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4107 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "self", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= PyInt_FromLong((long)result
);
4132 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4135 wxSplashScreenWindow
*result
;
4136 PyObject
* obj0
= 0 ;
4138 (char *) "self", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4157 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= PyInt_FromLong((long)result
);
4182 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4185 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4187 return Py_BuildValue((char *)"");
4189 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxWindow
*arg1
= (wxWindow
*) 0 ;
4192 int arg2
= (int) -1 ;
4193 long arg3
= (long) wxST_SIZEGRIP
;
4194 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4195 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4196 wxStatusBar
*result
;
4197 bool temp4
= False
;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj3
= 0 ;
4201 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4208 arg4
= wxString_in_helper(obj3
);
4209 if (arg4
== NULL
) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= wxPyMake_wxObject(result
);
4237 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxStatusBar
*result
;
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxStatusBar
*)new wxStatusBar();
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= wxPyMake_wxObject(result
);
4261 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4264 wxWindow
*arg2
= (wxWindow
*) 0 ;
4266 long arg4
= (long) wxST_SIZEGRIP
;
4267 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4268 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4270 bool temp5
= False
;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj4
= 0 ;
4275 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 arg5
= wxString_in_helper(obj4
);
4284 if (arg5
== NULL
) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= PyInt_FromLong((long)result
);
4310 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4313 int arg2
= (int) 1 ;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "self",(char *) "number", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->SetFieldsCount(arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "self", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= PyInt_FromLong((long)result
);
4360 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4363 wxString
*arg2
= 0 ;
4364 int arg3
= (int) 0 ;
4365 bool temp2
= False
;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4369 (char *) "self",(char *) "text",(char *) "number", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4375 arg2
= wxString_in_helper(obj1
);
4376 if (arg2
== NULL
) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4404 int arg2
= (int) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self",(char *) "number", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4433 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4436 wxString
*arg2
= 0 ;
4437 int arg3
= (int) 0 ;
4438 bool temp2
= False
;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "text",(char *) "number", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 arg2
= wxString_in_helper(obj1
);
4449 if (arg2
== NULL
) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 Py_INCREF(Py_None
); resultobj
= Py_None
;
4474 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4477 int arg2
= (int) 0 ;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "self",(char *) "number", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 (arg1
)->PopStatusText(arg2
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 Py_INCREF(Py_None
); resultobj
= Py_None
;
4499 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4501 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4503 int *arg3
= (int *) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4507 (char *) "self",(char *) "widths", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4513 arg2
= PyList_Size(obj1
);
4514 arg3
= int_LIST_helper(obj1
);
4515 if (arg3
== NULL
) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 if (arg3
) delete [] arg3
;
4531 if (arg3
) delete [] arg3
;
4537 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4542 PyObject
* obj0
= 0 ;
4544 (char *) "self",(char *) "i", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4558 resultptr
= new wxRect((wxRect
&) result
);
4559 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4567 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
;
4569 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4571 PyObject
* obj0
= 0 ;
4573 (char *) "self",(char *) "height", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 (arg1
)->SetMinHeight(arg2
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 Py_INCREF(Py_None
); resultobj
= Py_None
;
4592 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4598 (char *) "self", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= PyInt_FromLong((long)result
);
4617 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= PyInt_FromLong((long)result
);
4642 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4647 return Py_BuildValue((char *)"");
4649 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxWindow
*arg1
= (wxWindow
*) 0 ;
4653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4657 long arg5
= (long) wxSP_3D
;
4658 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4659 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4660 wxSplitterWindow
*result
;
4663 bool temp6
= False
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj2
= 0 ;
4666 PyObject
* obj3
= 0 ;
4667 PyObject
* obj5
= 0 ;
4669 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4683 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4688 arg6
= wxString_in_helper(obj5
);
4689 if (arg6
== NULL
) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4715 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxSplitterWindow
*result
;
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4737 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4740 wxWindow
*arg2
= (wxWindow
*) 0 ;
4742 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4743 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4744 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4745 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4746 long arg6
= (long) wxSP_3D
;
4747 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
4748 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4752 bool temp7
= False
;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj3
= 0 ;
4756 PyObject
* obj4
= 0 ;
4757 PyObject
* obj6
= 0 ;
4759 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4768 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4774 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4779 arg7
= wxString_in_helper(obj6
);
4780 if (arg7
== NULL
) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= PyInt_FromLong((long)result
);
4806 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4810 PyObject
* obj0
= 0 ;
4812 (char *) "self", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= wxPyMake_wxObject(result
);
4833 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4839 (char *) "self", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= wxPyMake_wxObject(result
);
4860 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4864 PyObject
* obj0
= 0 ;
4866 (char *) "self",(char *) "mode", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 (arg1
)->SetSplitMode(arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 Py_INCREF(Py_None
); resultobj
= Py_None
;
4885 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "self", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= PyInt_FromLong((long)result
);
4910 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4913 wxWindow
*arg2
= (wxWindow
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4917 (char *) "self",(char *) "window", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 (arg1
)->Initialize(arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 Py_INCREF(Py_None
); resultobj
= Py_None
;
4937 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4940 wxWindow
*arg2
= (wxWindow
*) 0 ;
4941 wxWindow
*arg3
= (wxWindow
*) 0 ;
4942 int arg4
= (int) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4946 PyObject
* obj2
= 0 ;
4948 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4954 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= PyInt_FromLong((long)result
);
4969 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4972 wxWindow
*arg2
= (wxWindow
*) 0 ;
4973 wxWindow
*arg3
= (wxWindow
*) 0 ;
4974 int arg4
= (int) 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4978 PyObject
* obj2
= 0 ;
4980 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4986 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= PyInt_FromLong((long)result
);
5001 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5004 wxWindow
*arg2
= (wxWindow
*) NULL
;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5009 (char *) "self",(char *) "toRemove", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (bool)(arg1
)->Unsplit(arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= PyInt_FromLong((long)result
);
5031 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5034 wxWindow
*arg2
= (wxWindow
*) 0 ;
5035 wxWindow
*arg3
= (wxWindow
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 PyObject
* obj2
= 0 ;
5041 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5047 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= PyInt_FromLong((long)result
);
5062 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= PyInt_FromLong((long)result
);
5087 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "self",(char *) "width", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 (arg1
)->SetSashSize(arg2
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 Py_INCREF(Py_None
); resultobj
= Py_None
;
5112 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5118 (char *) "self",(char *) "width", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 (arg1
)->SetBorderSize(arg2
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 Py_INCREF(Py_None
); resultobj
= Py_None
;
5137 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
;
5139 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5141 PyObject
* obj0
= 0 ;
5143 (char *) "self", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= PyInt_FromLong((long)result
);
5162 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
*resultobj
;
5164 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5166 PyObject
* obj0
= 0 ;
5168 (char *) "self", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= PyInt_FromLong((long)result
);
5187 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5191 bool arg3
= (bool) True
;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj2
= 0 ;
5195 (char *) "self",(char *) "position",(char *) "redraw", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5201 arg3
= PyInt_AsLong(obj2
) ? true : false;
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 (arg1
)->SetSashPosition(arg2
,arg3
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 Py_INCREF(Py_None
); resultobj
= Py_None
;
5218 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5222 PyObject
* obj0
= 0 ;
5224 (char *) "self", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= PyInt_FromLong((long)result
);
5243 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5247 PyObject
* obj0
= 0 ;
5249 (char *) "self",(char *) "min", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 (arg1
)->SetMinimumPaneSize(arg2
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 Py_INCREF(Py_None
); resultobj
= Py_None
;
5268 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
*resultobj
;
5270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5272 PyObject
* obj0
= 0 ;
5274 (char *) "self", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= PyInt_FromLong((long)result
);
5293 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5298 int arg4
= (int) 5 ;
5300 PyObject
* obj0
= 0 ;
5302 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= PyInt_FromLong((long)result
);
5321 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 (arg1
)->SizeWindows();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 Py_INCREF(Py_None
); resultobj
= Py_None
;
5345 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5352 (char *) "self",(char *) "needUpdating", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5357 arg2
= PyInt_AsLong(obj1
) ? true : false;
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->SetNeedUpdating(arg2
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5379 (char *) "self", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= PyInt_FromLong((long)result
);
5398 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5401 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5403 return Py_BuildValue((char *)"");
5405 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5408 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5409 wxSplitterEvent
*result
;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "type",(char *) "splitter", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5433 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5439 (char *) "self",(char *) "pos", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->SetSashPosition(arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 Py_INCREF(Py_None
); resultobj
= Py_None
;
5458 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5464 (char *) "self", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= PyInt_FromLong((long)result
);
5483 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= wxPyMake_wxObject(result
);
5510 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5516 (char *) "self", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= PyInt_FromLong((long)result
);
5535 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5539 PyObject
* obj0
= 0 ;
5541 (char *) "self", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= PyInt_FromLong((long)result
);
5560 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5563 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5565 return Py_BuildValue((char *)"");
5567 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxWindow
*arg1
= (wxWindow
*) 0 ;
5571 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5572 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5573 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5574 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5575 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5576 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5577 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5578 wxSashWindow
*result
;
5581 bool temp6
= False
;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj2
= 0 ;
5584 PyObject
* obj3
= 0 ;
5585 PyObject
* obj5
= 0 ;
5587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5595 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5601 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5606 arg6
= wxString_in_helper(obj5
);
5607 if (arg6
== NULL
) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5633 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxSashWindow
*result
;
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (wxSashWindow
*)new wxSashWindow();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5655 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5658 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5664 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5665 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5666 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5670 bool temp7
= False
;
5671 PyObject
* obj0
= 0 ;
5672 PyObject
* obj1
= 0 ;
5673 PyObject
* obj3
= 0 ;
5674 PyObject
* obj4
= 0 ;
5675 PyObject
* obj6
= 0 ;
5677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5697 arg7
= wxString_in_helper(obj6
);
5698 if (arg7
== NULL
) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= PyInt_FromLong((long)result
);
5724 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj2
= 0 ;
5732 (char *) "self",(char *) "edge",(char *) "sash", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5737 arg3
= PyInt_AsLong(obj2
) ? true : false;
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 Py_INCREF(Py_None
); resultobj
= Py_None
;
5753 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5760 (char *) "self",(char *) "edge", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= PyInt_FromLong((long)result
);
5779 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj2
= 0 ;
5787 (char *) "self",(char *) "edge",(char *) "border", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5792 arg3
= PyInt_AsLong(obj2
) ? true : false;
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 Py_INCREF(Py_None
); resultobj
= Py_None
;
5808 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5815 (char *) "self",(char *) "edge", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= PyInt_FromLong((long)result
);
5834 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self",(char *) "edge", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= PyInt_FromLong((long)result
);
5860 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self",(char *) "width", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 (arg1
)->SetDefaultBorderSize(arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 Py_INCREF(Py_None
); resultobj
= Py_None
;
5885 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "self", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= PyInt_FromLong((long)result
);
5910 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5916 (char *) "self",(char *) "width", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 (arg1
)->SetExtraBorderSize(arg2
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 Py_INCREF(Py_None
); resultobj
= Py_None
;
5935 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "self", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= PyInt_FromLong((long)result
);
5960 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self",(char *) "min", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 (arg1
)->SetMinimumSizeX(arg2
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5991 (char *) "self",(char *) "min", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 (arg1
)->SetMinimumSizeY(arg2
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= PyInt_FromLong((long)result
);
6035 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6041 (char *) "self", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= PyInt_FromLong((long)result
);
6060 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6066 (char *) "self",(char *) "max", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->SetMaximumSizeX(arg2
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self",(char *) "max", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 (arg1
)->SetMaximumSizeY(arg2
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 Py_INCREF(Py_None
); resultobj
= Py_None
;
6110 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6116 (char *) "self", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= PyInt_FromLong((long)result
);
6135 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6141 (char *) "self", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= PyInt_FromLong((long)result
);
6160 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6165 int arg4
= (int) 2 ;
6167 PyObject
* obj0
= 0 ;
6169 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= PyInt_FromLong((long)result
);
6188 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 (arg1
)->SizeWindows();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6215 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6217 return Py_BuildValue((char *)"");
6219 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 int arg1
= (int) 0 ;
6222 int arg2
= (int) wxSASH_NONE
;
6223 wxSashEvent
*result
;
6225 (char *) "id",(char *) "edge", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6243 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6249 (char *) "self",(char *) "edge", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 Py_INCREF(Py_None
); resultobj
= Py_None
;
6268 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= PyInt_FromLong((long)result
);
6293 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6301 (char *) "self",(char *) "rect", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 Py_INCREF(Py_None
); resultobj
= Py_None
;
6324 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6330 (char *) "self", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6344 resultptr
= new wxRect((wxRect
&) result
);
6345 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6353 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self",(char *) "status", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6378 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6384 (char *) "self", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= PyInt_FromLong((long)result
);
6403 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6406 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6408 return Py_BuildValue((char *)"");
6410 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 int arg1
= (int) 0 ;
6413 wxQueryLayoutInfoEvent
*result
;
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6433 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self",(char *) "length", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 (arg1
)->SetRequestedLength(arg2
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= PyInt_FromLong((long)result
);
6483 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6487 PyObject
* obj0
= 0 ;
6489 (char *) "self",(char *) "flags", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 (arg1
)->SetFlags(arg2
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 Py_INCREF(Py_None
); resultobj
= Py_None
;
6508 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= PyInt_FromLong((long)result
);
6533 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6539 PyObject
* obj1
= 0 ;
6541 (char *) "self",(char *) "size", NULL
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 (arg1
)->SetSize((wxSize
const &)*arg2
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 Py_INCREF(Py_None
); resultobj
= Py_None
;
6564 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6568 PyObject
* obj0
= 0 ;
6570 (char *) "self", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6584 resultptr
= new wxSize((wxSize
&) result
);
6585 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6593 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self",(char *) "orient", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6618 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6624 (char *) "self", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= PyInt_FromLong((long)result
);
6643 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6649 (char *) "self",(char *) "align", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6668 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6674 (char *) "self", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= PyInt_FromLong((long)result
);
6693 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6696 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
6698 return Py_BuildValue((char *)"");
6700 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 int arg1
= (int) 0 ;
6703 wxCalculateLayoutEvent
*result
;
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
6723 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self",(char *) "flags", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 (arg1
)->SetFlags(arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 Py_INCREF(Py_None
); resultobj
= Py_None
;
6748 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6754 (char *) "self", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= PyInt_FromLong((long)result
);
6773 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "rect", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6788 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 (arg1
)->SetRect((wxRect
const &)*arg2
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 Py_INCREF(Py_None
); resultobj
= Py_None
;
6804 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6824 resultptr
= new wxRect((wxRect
&) result
);
6825 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6833 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6836 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
6838 return Py_BuildValue((char *)"");
6840 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxWindow
*arg1
= (wxWindow
*) 0 ;
6844 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6845 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6846 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6847 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6848 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6849 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
6850 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6851 wxSashLayoutWindow
*result
;
6854 bool temp6
= False
;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj2
= 0 ;
6857 PyObject
* obj3
= 0 ;
6858 PyObject
* obj5
= 0 ;
6860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
6864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6879 arg6
= wxString_in_helper(obj5
);
6880 if (arg6
== NULL
) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6906 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxSashLayoutWindow
*result
;
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6928 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6931 wxWindow
*arg2
= (wxWindow
*) 0 ;
6933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6937 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6938 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
6939 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6943 bool temp7
= False
;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 PyObject
* obj3
= 0 ;
6947 PyObject
* obj4
= 0 ;
6948 PyObject
* obj6
= 0 ;
6950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6959 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6965 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6970 arg7
= wxString_in_helper(obj6
);
6971 if (arg7
== NULL
) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= PyInt_FromLong((long)result
);
6997 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (int)(arg1
)->GetAlignment();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= PyInt_FromLong((long)result
);
7022 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (int)(arg1
)->GetOrientation();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= PyInt_FromLong((long)result
);
7047 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self",(char *) "alignment", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 Py_INCREF(Py_None
); resultobj
= Py_None
;
7072 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7080 (char *) "self",(char *) "size", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7087 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self",(char *) "orientation", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 Py_INCREF(Py_None
); resultobj
= Py_None
;
7128 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7131 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7133 return Py_BuildValue((char *)"");
7135 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxLayoutAlgorithm
*result
;
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7157 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7162 (char *) "self", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7184 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7185 wxRect
*arg3
= (wxRect
*) NULL
;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 PyObject
* obj2
= 0 ;
7191 (char *) "self",(char *) "frame",(char *) "rect", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= PyInt_FromLong((long)result
);
7214 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7216 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7217 wxFrame
*arg2
= (wxFrame
*) 0 ;
7218 wxWindow
*arg3
= (wxWindow
*) NULL
;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7224 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7231 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= PyInt_FromLong((long)result
);
7247 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7250 wxWindow
*arg2
= (wxWindow
*) 0 ;
7251 wxWindow
*arg3
= (wxWindow
*) NULL
;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7255 PyObject
* obj2
= 0 ;
7257 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7264 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= PyInt_FromLong((long)result
);
7280 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7283 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7285 return Py_BuildValue((char *)"");
7287 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxWindow
*arg1
= (wxWindow
*) 0 ;
7290 int arg2
= (int) wxBORDER_NONE
;
7291 wxPopupWindow
*result
;
7292 PyObject
* obj0
= 0 ;
7294 (char *) "parent",(char *) "flags", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7313 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxPopupWindow
*result
;
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (wxPopupWindow
*)new wxPopupWindow();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7335 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7338 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7340 return Py_BuildValue((char *)"");
7342 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxWindow
*arg1
= (wxWindow
*) 0 ;
7345 int arg2
= (int) wxBORDER_NONE
;
7346 wxPyPopupTransientWindow
*result
;
7347 PyObject
* obj0
= 0 ;
7349 (char *) "parent",(char *) "style", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7368 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxPyPopupTransientWindow
*result
;
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7390 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7393 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7395 return Py_BuildValue((char *)"");
7397 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxWindow
*arg1
= (wxWindow
*) 0 ;
7400 wxString
*arg2
= 0 ;
7401 int arg3
= (int) 100 ;
7402 wxRect
*arg4
= (wxRect
*) NULL
;
7403 wxTipWindow
*result
;
7404 bool temp2
= False
;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj3
= 0 ;
7409 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7415 arg2
= wxString_in_helper(obj1
);
7416 if (arg2
== NULL
) SWIG_fail
;
7420 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7444 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7452 (char *) "self",(char *) "rectBound", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "self", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7502 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7504 return Py_BuildValue((char *)"");
7506 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxWindow
*arg1
= (wxWindow
*) 0 ;
7509 int arg2
= (int) wxID_ANY
;
7510 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7511 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7514 long arg5
= (long) 0 ;
7515 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7516 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7517 wxPyVScrolledWindow
*result
;
7520 bool temp6
= False
;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj2
= 0 ;
7523 PyObject
* obj3
= 0 ;
7524 PyObject
* obj5
= 0 ;
7526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7545 arg6
= wxString_in_helper(obj5
);
7546 if (arg6
== NULL
) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7572 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxPyVScrolledWindow
*result
;
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7594 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7597 PyObject
*arg2
= (PyObject
*) 0 ;
7598 PyObject
*arg3
= (PyObject
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7603 (char *) "self",(char *) "self",(char *) "_class", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 Py_INCREF(Py_None
); resultobj
= Py_None
;
7624 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7627 wxWindow
*arg2
= (wxWindow
*) 0 ;
7628 int arg3
= (int) wxID_ANY
;
7629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7633 long arg6
= (long) 0 ;
7634 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7639 bool temp7
= False
;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7642 PyObject
* obj3
= 0 ;
7643 PyObject
* obj4
= 0 ;
7644 PyObject
* obj6
= 0 ;
7646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7655 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7661 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7666 arg7
= wxString_in_helper(obj6
);
7667 if (arg7
== NULL
) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= PyInt_FromLong((long)result
);
7693 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7700 (char *) "self",(char *) "count", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7705 arg2
= (size_t) PyInt_AsLong(obj1
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 (arg1
)->SetLineCount(arg2
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 Py_INCREF(Py_None
); resultobj
= Py_None
;
7721 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7729 (char *) "self",(char *) "line", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7734 arg2
= (size_t) PyInt_AsLong(obj1
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (bool)(arg1
)->ScrollToLine(arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= PyInt_FromLong((long)result
);
7750 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self",(char *) "lines", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
7761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (bool)(arg1
)->ScrollLines(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= PyInt_FromLong((long)result
);
7776 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self",(char *) "pages", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (bool)(arg1
)->ScrollPages(arg2
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= PyInt_FromLong((long)result
);
7802 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "line", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7814 arg2
= (size_t) PyInt_AsLong(obj1
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 (arg1
)->RefreshLine(arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 Py_INCREF(Py_None
); resultobj
= Py_None
;
7830 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 PyObject
* obj2
= 0 ;
7839 (char *) "self",(char *) "from",(char *) "to", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7844 arg2
= (size_t) PyInt_AsLong(obj1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7846 arg3
= (size_t) PyInt_AsLong(obj2
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 (arg1
)->RefreshLines(arg2
,arg3
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 Py_INCREF(Py_None
); resultobj
= Py_None
;
7862 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self",(char *) "x",(char *) "y", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= PyInt_FromLong((long)result
);
7889 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7898 (char *) "self",(char *) "pt", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= PyInt_FromLong((long)result
);
7921 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "self", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 (arg1
)->RefreshAll();
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "self", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= PyInt_FromLong((long)result
);
7970 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= PyInt_FromLong((long)result
);
7995 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "self", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= PyInt_FromLong((long)result
);
8020 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8026 PyObject
* obj1
= 0 ;
8028 (char *) "self",(char *) "line", NULL
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8033 arg2
= (size_t) PyInt_AsLong(obj1
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= PyInt_FromLong((long)result
);
8049 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8052 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8054 return Py_BuildValue((char *)"");
8056 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxWindow
*arg1
= (wxWindow
*) 0 ;
8059 int arg2
= (int) wxID_ANY
;
8060 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8061 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8062 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8063 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8064 long arg5
= (long) 0 ;
8065 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8066 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8067 wxPyVListBox
*result
;
8070 bool temp6
= False
;
8071 PyObject
* obj0
= 0 ;
8072 PyObject
* obj2
= 0 ;
8073 PyObject
* obj3
= 0 ;
8074 PyObject
* obj5
= 0 ;
8076 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8095 arg6
= wxString_in_helper(obj5
);
8096 if (arg6
== NULL
) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8122 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
;
8124 wxPyVListBox
*result
;
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 result
= (wxPyVListBox
*)new wxPyVListBox();
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8144 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8147 PyObject
*arg2
= (PyObject
*) 0 ;
8148 PyObject
*arg3
= (PyObject
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 PyObject
* obj2
= 0 ;
8153 (char *) "self",(char *) "self",(char *) "_class", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8177 wxWindow
*arg2
= (wxWindow
*) 0 ;
8178 int arg3
= (int) wxID_ANY
;
8179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8183 long arg6
= (long) 0 ;
8184 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8185 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8189 bool temp7
= False
;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8192 PyObject
* obj3
= 0 ;
8193 PyObject
* obj4
= 0 ;
8194 PyObject
* obj6
= 0 ;
8196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8205 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8211 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8216 arg7
= wxString_in_helper(obj6
);
8217 if (arg7
== NULL
) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= PyInt_FromLong((long)result
);
8243 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8249 (char *) "self", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= PyInt_FromLong((long)result
);
8268 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8274 (char *) "self", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= PyInt_FromLong((long)result
);
8293 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= PyInt_FromLong((long)result
);
8318 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "item", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8331 arg2
= (size_t) PyInt_AsLong(obj1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= PyInt_FromLong((long)result
);
8347 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "item", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8360 arg2
= (size_t) PyInt_AsLong(obj1
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= PyInt_FromLong((long)result
);
8376 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= PyInt_FromLong((long)result
);
8401 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8404 unsigned long *arg2
= 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8409 (char *) "self",(char *) "cookie", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= PyInt_FromLong((long)result
);
8432 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8435 unsigned long *arg2
= 0 ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8440 (char *) "self",(char *) "cookie", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8447 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= PyInt_FromLong((long)result
);
8463 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 wxPoint
* resultptr
;
8483 resultptr
= new wxPoint((wxPoint
&) result
);
8484 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8492 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8498 (char *) "self", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8507 result
= (wxColour
*) &_result_ref
;
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8520 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8527 (char *) "self",(char *) "count", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8532 arg2
= (size_t) PyInt_AsLong(obj1
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 (arg1
)->SetItemCount(arg2
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 Py_INCREF(Py_None
); resultobj
= Py_None
;
8572 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8576 PyObject
* obj0
= 0 ;
8578 (char *) "self",(char *) "selection", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 (arg1
)->SetSelection(arg2
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 Py_INCREF(Py_None
); resultobj
= Py_None
;
8597 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8601 bool arg3
= (bool) True
;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8607 (char *) "self",(char *) "item",(char *) "select", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 arg2
= (size_t) PyInt_AsLong(obj1
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 arg3
= PyInt_AsLong(obj2
) ? true : false;
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= PyInt_FromLong((long)result
);
8632 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8639 PyObject
* obj1
= 0 ;
8640 PyObject
* obj2
= 0 ;
8642 (char *) "self",(char *) "from",(char *) "to", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8647 arg2
= (size_t) PyInt_AsLong(obj1
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8649 arg3
= (size_t) PyInt_AsLong(obj2
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= PyInt_FromLong((long)result
);
8665 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8672 (char *) "self",(char *) "item", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8677 arg2
= (size_t) PyInt_AsLong(obj1
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 (arg1
)->Toggle(arg2
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8699 (char *) "self", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
8703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (bool)(arg1
)->SelectAll();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= PyInt_FromLong((long)result
);
8718 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8722 PyObject
* obj0
= 0 ;
8724 (char *) "self", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (bool)(arg1
)->DeselectAll();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= PyInt_FromLong((long)result
);
8743 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8751 (char *) "self",(char *) "pt", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "self",(char *) "x",(char *) "y", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 (arg1
)->SetMargins(arg2
,arg3
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 Py_INCREF(Py_None
); resultobj
= Py_None
;
8800 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8803 wxColour
*arg2
= 0 ;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8808 (char *) "self",(char *) "col", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
8833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8834 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
8836 return Py_BuildValue((char *)"");
8838 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxWindow
*arg1
= (wxWindow
*) 0 ;
8841 int arg2
= (int) wxID_ANY
;
8842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8846 long arg5
= (long) 0 ;
8847 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8848 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8849 wxPyHtmlListBox
*result
;
8852 bool temp6
= False
;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj2
= 0 ;
8855 PyObject
* obj3
= 0 ;
8856 PyObject
* obj5
= 0 ;
8858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8877 arg6
= wxString_in_helper(obj5
);
8878 if (arg6
== NULL
) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
8904 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxPyHtmlListBox
*result
;
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
8926 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
;
8928 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
8929 PyObject
*arg2
= (PyObject
*) 0 ;
8930 PyObject
*arg3
= (PyObject
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8935 (char *) "self",(char *) "self",(char *) "_class", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
8959 wxWindow
*arg2
= (wxWindow
*) 0 ;
8960 int arg3
= (int) wxID_ANY
;
8961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8965 long arg6
= (long) 0 ;
8966 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8971 bool temp7
= False
;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 PyObject
* obj3
= 0 ;
8975 PyObject
* obj4
= 0 ;
8976 PyObject
* obj6
= 0 ;
8978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8998 arg7
= wxString_in_helper(obj6
);
8999 if (arg7
== NULL
) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= PyInt_FromLong((long)result
);
9025 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "self", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 (arg1
)->RefreshAll();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9056 (char *) "self",(char *) "count", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9061 arg2
= (size_t) PyInt_AsLong(obj1
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 (arg1
)->SetItemCount(arg2
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9080 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9082 return Py_BuildValue((char *)"");
9084 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxTaskBarIcon
*result
;
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9106 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9109 PyObject
* obj0
= 0 ;
9111 (char *) "self", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 Py_INCREF(Py_None
); resultobj
= Py_None
;
9130 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9133 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9135 return Py_BuildValue((char *)"");
9137 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9140 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9141 wxTaskBarIconEvent
*result
;
9142 PyObject
* obj1
= 0 ;
9144 (char *) "evtType",(char *) "tbIcon", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9163 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9166 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9168 return Py_BuildValue((char *)"");
9170 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxColourData
*result
;
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (wxColourData
*)new wxColourData();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9192 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxColourData
*arg1
= (wxColourData
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9197 (char *) "self", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxColourData
*arg1
= (wxColourData
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9222 (char *) "self", NULL
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)(arg1
)->GetChooseFull();
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= PyInt_FromLong((long)result
);
9241 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxColourData
*arg1
= (wxColourData
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (arg1
)->GetColour();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 wxColour
* resultptr
;
9261 resultptr
= new wxColour((wxColour
&) result
);
9262 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9270 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxColourData
*arg1
= (wxColourData
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9277 (char *) "self",(char *) "i", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (arg1
)->GetCustomColour(arg2
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 wxColour
* resultptr
;
9291 resultptr
= new wxColour((wxColour
&) result
);
9292 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9300 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxColourData
*arg1
= (wxColourData
*) 0 ;
9304 PyObject
* obj0
= 0 ;
9306 (char *) "self",(char *) "flag", NULL
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 (arg1
)->SetChooseFull(arg2
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 Py_INCREF(Py_None
); resultobj
= Py_None
;
9325 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxColourData
*arg1
= (wxColourData
*) 0 ;
9328 wxColour
*arg2
= 0 ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9333 (char *) "self",(char *) "colour", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9340 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 (arg1
)->SetColour((wxColour
const &)*arg2
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 Py_INCREF(Py_None
); resultobj
= Py_None
;
9356 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxColourData
*arg1
= (wxColourData
*) 0 ;
9360 wxColour
*arg3
= 0 ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj2
= 0 ;
9365 (char *) "self",(char *) "i",(char *) "colour", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9372 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9391 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9393 return Py_BuildValue((char *)"");
9395 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxWindow
*arg1
= (wxWindow
*) 0 ;
9398 wxColourData
*arg2
= (wxColourData
*) NULL
;
9399 wxColourDialog
*result
;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9403 (char *) "parent",(char *) "data", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9425 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9428 wxColourData
*result
;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9440 result
= (wxColourData
*) &_result_ref
;
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9453 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 result
= (int)(arg1
)->ShowModal();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= PyInt_FromLong((long)result
);
9478 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9481 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
9483 return Py_BuildValue((char *)"");
9485 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxWindow
*arg1
= (wxWindow
*) 0 ;
9488 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
9489 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9490 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9491 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9492 long arg4
= (long) 0 ;
9493 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9494 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9495 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9496 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9497 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
9498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9499 wxDirDialog
*result
;
9500 bool temp2
= False
;
9501 bool temp3
= False
;
9504 bool temp7
= False
;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 PyObject
* obj2
= 0 ;
9508 PyObject
* obj4
= 0 ;
9509 PyObject
* obj5
= 0 ;
9510 PyObject
* obj6
= 0 ;
9512 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9519 arg2
= wxString_in_helper(obj1
);
9520 if (arg2
== NULL
) SWIG_fail
;
9526 arg3
= wxString_in_helper(obj2
);
9527 if (arg3
== NULL
) SWIG_fail
;
9534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9545 arg7
= wxString_in_helper(obj6
);
9546 if (arg7
== NULL
) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
9588 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9594 (char *) "self", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (arg1
)->GetPath();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9619 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9625 (char *) "self", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (arg1
)->GetMessage();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9650 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "self", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (long)(arg1
)->GetStyle();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= PyInt_FromLong((long)result
);
9675 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9678 wxString
*arg2
= 0 ;
9679 bool temp2
= False
;
9680 PyObject
* obj0
= 0 ;
9681 PyObject
* obj1
= 0 ;
9683 (char *) "self",(char *) "message", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9689 arg2
= wxString_in_helper(obj1
);
9690 if (arg2
== NULL
) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->SetMessage((wxString
const &)*arg2
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 Py_INCREF(Py_None
); resultobj
= Py_None
;
9715 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9718 wxString
*arg2
= 0 ;
9719 bool temp2
= False
;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9723 (char *) "self",(char *) "path", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9729 arg2
= wxString_in_helper(obj1
);
9730 if (arg2
== NULL
) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetPath((wxString
const &)*arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9755 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9759 PyObject
* obj0
= 0 ;
9761 (char *) "self", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (int)(arg1
)->ShowModal();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= PyInt_FromLong((long)result
);
9780 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9783 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
9785 return Py_BuildValue((char *)"");
9787 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxWindow
*arg1
= (wxWindow
*) 0 ;
9790 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
9791 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9792 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9793 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9796 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
9797 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
9798 long arg6
= (long) 0 ;
9799 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
9800 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
9801 wxFileDialog
*result
;
9802 bool temp2
= False
;
9803 bool temp3
= False
;
9804 bool temp4
= False
;
9805 bool temp5
= False
;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 PyObject
* obj3
= 0 ;
9811 PyObject
* obj4
= 0 ;
9812 PyObject
* obj6
= 0 ;
9814 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9821 arg2
= wxString_in_helper(obj1
);
9822 if (arg2
== NULL
) SWIG_fail
;
9828 arg3
= wxString_in_helper(obj2
);
9829 if (arg3
== NULL
) SWIG_fail
;
9835 arg4
= wxString_in_helper(obj3
);
9836 if (arg4
== NULL
) SWIG_fail
;
9842 arg5
= wxString_in_helper(obj4
);
9843 if (arg5
== NULL
) SWIG_fail
;
9850 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
9899 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
9902 wxString
*arg2
= 0 ;
9903 bool temp2
= False
;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9907 (char *) "self",(char *) "message", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9913 arg2
= wxString_in_helper(obj1
);
9914 if (arg2
== NULL
) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 (arg1
)->SetMessage((wxString
const &)*arg2
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 Py_INCREF(Py_None
); resultobj
= Py_None
;
9939 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
9942 wxString
*arg2
= 0 ;
9943 bool temp2
= False
;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9947 (char *) "self",(char *) "path", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9953 arg2
= wxString_in_helper(obj1
);
9954 if (arg2
== NULL
) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 (arg1
)->SetPath((wxString
const &)*arg2
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 Py_INCREF(Py_None
); resultobj
= Py_None
;
9979 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
9982 wxString
*arg2
= 0 ;
9983 bool temp2
= False
;
9984 PyObject
* obj0
= 0 ;
9985 PyObject
* obj1
= 0 ;
9987 (char *) "self",(char *) "dir", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9993 arg2
= wxString_in_helper(obj1
);
9994 if (arg2
== NULL
) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10022 wxString
*arg2
= 0 ;
10023 bool temp2
= False
;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self",(char *) "name", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10033 arg2
= wxString_in_helper(obj1
);
10034 if (arg2
== NULL
) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetFilename((wxString
const &)*arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10059 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10062 wxString
*arg2
= 0 ;
10063 bool temp2
= False
;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self",(char *) "wildCard", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10073 arg2
= wxString_in_helper(obj1
);
10074 if (arg2
== NULL
) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 Py_INCREF(Py_None
); resultobj
= Py_None
;
10099 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self",(char *) "style", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 (arg1
)->SetStyle(arg2
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 Py_INCREF(Py_None
); resultobj
= Py_None
;
10124 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "filterIndex", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 (arg1
)->SetFilterIndex(arg2
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 Py_INCREF(Py_None
); resultobj
= Py_None
;
10149 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10153 PyObject
* obj0
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10180 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10211 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10242 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10273 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10304 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= PyInt_FromLong((long)result
);
10329 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10331 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10333 PyObject
* obj0
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= PyInt_FromLong((long)result
);
10354 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= result
;
10379 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= result
;
10404 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10407 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10409 return Py_BuildValue((char *)"");
10411 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxWindow
*arg1
= (wxWindow
*) 0 ;
10414 wxString
*arg2
= 0 ;
10415 wxString
*arg3
= 0 ;
10417 wxString
*arg5
= (wxString
*) 0 ;
10418 long arg6
= (long) wxCHOICEDLG_STYLE
;
10419 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10420 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10421 wxMultiChoiceDialog
*result
;
10422 bool temp2
= False
;
10423 bool temp3
= False
;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 PyObject
* obj2
= 0 ;
10428 PyObject
* obj4
= 0 ;
10429 PyObject
* obj6
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10437 arg2
= wxString_in_helper(obj1
);
10438 if (arg2
== NULL
) SWIG_fail
;
10442 arg3
= wxString_in_helper(obj2
);
10443 if (arg3
== NULL
) SWIG_fail
;
10446 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10450 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
10483 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10486 wxArrayInt
*arg2
= 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "selections", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10496 if (! PySequence_Check(obj1
)) {
10497 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10500 arg2
= new wxArrayInt
;
10501 int i
, len
=PySequence_Length(obj1
);
10502 for (i
=0; i
<len
; i
++) {
10503 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10504 PyObject
* number
= PyNumber_Int(item
);
10505 arg2
->Add(PyInt_AS_LONG(number
));
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 Py_INCREF(Py_None
); resultobj
= Py_None
;
10519 if (arg2
) delete arg2
;
10524 if (arg2
) delete arg2
;
10530 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
;
10555 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10558 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
10560 return Py_BuildValue((char *)"");
10562 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxWindow
*arg1
= (wxWindow
*) 0 ;
10565 wxString
*arg2
= 0 ;
10566 wxString
*arg3
= 0 ;
10568 wxString
*arg5
= (wxString
*) 0 ;
10569 long arg6
= (long) wxCHOICEDLG_STYLE
;
10570 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10571 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10572 wxSingleChoiceDialog
*result
;
10573 bool temp2
= False
;
10574 bool temp3
= False
;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 PyObject
* obj2
= 0 ;
10579 PyObject
* obj3
= 0 ;
10580 PyObject
* obj5
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10588 arg2
= wxString_in_helper(obj1
);
10589 if (arg2
== NULL
) SWIG_fail
;
10593 arg3
= wxString_in_helper(obj2
);
10594 if (arg3
== NULL
) SWIG_fail
;
10598 arg4
= PyList_Size(obj3
);
10599 arg5
= wxString_LIST_helper(obj3
);
10600 if (arg5
== NULL
) SWIG_fail
;
10605 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
10625 if (arg5
) delete [] arg5
;
10638 if (arg5
) delete [] arg5
;
10644 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (int)(arg1
)->GetSelection();
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= PyInt_FromLong((long)result
);
10669 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (arg1
)->GetStringSelection();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10700 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "sel", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->SetSelection(arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (int)(arg1
)->ShowModal();
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= PyInt_FromLong((long)result
);
10750 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10753 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
10755 return Py_BuildValue((char *)"");
10757 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxWindow
*arg1
= (wxWindow
*) 0 ;
10760 wxString
*arg2
= 0 ;
10761 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
10762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10763 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10765 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
10766 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10767 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10768 wxTextEntryDialog
*result
;
10769 bool temp2
= False
;
10770 bool temp3
= False
;
10771 bool temp4
= False
;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 PyObject
* obj2
= 0 ;
10776 PyObject
* obj3
= 0 ;
10777 PyObject
* obj5
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
10783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10785 arg2
= wxString_in_helper(obj1
);
10786 if (arg2
== NULL
) SWIG_fail
;
10791 arg3
= wxString_in_helper(obj2
);
10792 if (arg3
== NULL
) SWIG_fail
;
10798 arg4
= wxString_in_helper(obj3
);
10799 if (arg4
== NULL
) SWIG_fail
;
10806 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
10847 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= (arg1
)->GetValue();
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10878 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
10881 wxString
*arg2
= 0 ;
10882 bool temp2
= False
;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self",(char *) "value", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10892 arg2
= wxString_in_helper(obj1
);
10893 if (arg2
== NULL
) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 (arg1
)->SetValue((wxString
const &)*arg2
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 Py_INCREF(Py_None
); resultobj
= Py_None
;
10918 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (int)(arg1
)->ShowModal();
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= PyInt_FromLong((long)result
);
10943 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10946 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
10948 return Py_BuildValue((char *)"");
10950 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxFontData
*result
;
10953 char *kwnames
[] = {
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (wxFontData
*)new wxFontData();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
10972 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxFontData
*arg1
= (wxFontData
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxFontData
*arg1
= (wxFontData
*) 0 ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "self",(char *) "enable", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11008 arg2
= PyInt_AsLong(obj1
) ? true : false;
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 (arg1
)->EnableEffects(arg2
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11024 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxFontData
*arg1
= (wxFontData
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (bool)(arg1
)->GetAllowSymbols();
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= PyInt_FromLong((long)result
);
11049 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxFontData
*arg1
= (wxFontData
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (arg1
)->GetColour();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 wxColour
* resultptr
;
11069 resultptr
= new wxColour((wxColour
&) result
);
11070 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11078 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxFontData
*arg1
= (wxFontData
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (arg1
)->GetChosenFont();
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 wxFont
* resultptr
;
11098 resultptr
= new wxFont((wxFont
&) result
);
11099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11107 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxFontData
*arg1
= (wxFontData
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (bool)(arg1
)->GetEnableEffects();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= PyInt_FromLong((long)result
);
11132 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxFontData
*arg1
= (wxFontData
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (arg1
)->GetInitialFont();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 wxFont
* resultptr
;
11152 resultptr
= new wxFont((wxFont
&) result
);
11153 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11161 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxFontData
*arg1
= (wxFontData
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)(arg1
)->GetShowHelp();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= PyInt_FromLong((long)result
);
11186 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxFontData
*arg1
= (wxFontData
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "allowSymbols", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11198 arg2
= PyInt_AsLong(obj1
) ? true : false;
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 (arg1
)->SetAllowSymbols(arg2
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 Py_INCREF(Py_None
); resultobj
= Py_None
;
11214 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxFontData
*arg1
= (wxFontData
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self",(char *) "font", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11226 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11227 if (arg2
== NULL
) {
11228 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxFontData
*arg1
= (wxFontData
*) 0 ;
11247 wxColour
*arg2
= 0 ;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self",(char *) "colour", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 (arg1
)->SetColour((wxColour
const &)*arg2
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 Py_INCREF(Py_None
); resultobj
= Py_None
;
11275 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxFontData
*arg1
= (wxFontData
*) 0 ;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "font", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11288 if (arg2
== NULL
) {
11289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxFontData
*arg1
= (wxFontData
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self",(char *) "min",(char *) "max", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetRange(arg2
,arg3
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxFontData
*arg1
= (wxFontData
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "showHelp", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11343 arg2
= PyInt_AsLong(obj1
) ? true : false;
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 (arg1
)->SetShowHelp(arg2
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 Py_INCREF(Py_None
); resultobj
= Py_None
;
11359 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11362 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11364 return Py_BuildValue((char *)"");
11366 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxWindow
*arg1
= (wxWindow
*) 0 ;
11369 wxFontData
*arg2
= 0 ;
11370 wxFontDialog
*result
;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "parent",(char *) "data", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11380 if (arg2
== NULL
) {
11381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11397 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11400 wxFontData
*result
;
11401 PyObject
* obj0
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11412 result
= (wxFontData
*) &_result_ref
;
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11425 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (int)(arg1
)->ShowModal();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= PyInt_FromLong((long)result
);
11450 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11453 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
11455 return Py_BuildValue((char *)"");
11457 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxWindow
*arg1
= (wxWindow
*) 0 ;
11460 wxString
*arg2
= 0 ;
11461 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
11462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11463 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11466 wxMessageDialog
*result
;
11467 bool temp2
= False
;
11468 bool temp3
= False
;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 PyObject
* obj2
= 0 ;
11473 PyObject
* obj4
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11481 arg2
= wxString_in_helper(obj1
);
11482 if (arg2
== NULL
) SWIG_fail
;
11487 arg3
= wxString_in_helper(obj2
);
11488 if (arg3
== NULL
) SWIG_fail
;
11495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
11528 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (int)(arg1
)->ShowModal();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= PyInt_FromLong((long)result
);
11553 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11556 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
11558 return Py_BuildValue((char *)"");
11560 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxString
*arg1
= 0 ;
11563 wxString
*arg2
= 0 ;
11564 int arg3
= (int) 100 ;
11565 wxWindow
*arg4
= (wxWindow
*) NULL
;
11566 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
11567 wxProgressDialog
*result
;
11568 bool temp1
= False
;
11569 bool temp2
= False
;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 PyObject
* obj3
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
11579 arg1
= wxString_in_helper(obj0
);
11580 if (arg1
== NULL
) SWIG_fail
;
11584 arg2
= wxString_in_helper(obj1
);
11585 if (arg2
== NULL
) SWIG_fail
;
11589 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
11621 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11628 bool temp3
= False
;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj2
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11639 arg3
= wxString_in_helper(obj2
);
11640 if (arg3
== NULL
) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= PyInt_FromLong((long)result
);
11666 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "self", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
11675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 Py_INCREF(Py_None
); resultobj
= Py_None
;
11690 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11693 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
11695 return Py_BuildValue((char *)"");
11697 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11700 int arg2
= (int) 0 ;
11701 wxFindDialogEvent
*result
;
11702 char *kwnames
[] = {
11703 (char *) "commandType",(char *) "id", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
11721 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (int)(arg1
)->GetFlags();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= PyInt_FromLong((long)result
);
11746 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (arg1
)->GetFindString();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11777 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11781 PyObject
* obj0
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
11787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
11792 result
= (wxString
*) &_result_ref
;
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
11805 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11808 wxFindReplaceDialog
*result
;
11809 PyObject
* obj0
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
11815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
11830 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self",(char *) "flags", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 (arg1
)->SetFlags(arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11858 wxString
*arg2
= 0 ;
11859 bool temp2
= False
;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self",(char *) "str", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11869 arg2
= wxString_in_helper(obj1
);
11870 if (arg2
== NULL
) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 (arg1
)->SetFindString((wxString
const &)*arg2
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 Py_INCREF(Py_None
); resultobj
= Py_None
;
11895 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11898 wxString
*arg2
= 0 ;
11899 bool temp2
= False
;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "str", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
11907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11909 arg2
= wxString_in_helper(obj1
);
11910 if (arg2
== NULL
) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11938 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
11940 return Py_BuildValue((char *)"");
11942 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 int arg1
= (int) 0 ;
11945 wxFindReplaceData
*result
;
11946 char *kwnames
[] = {
11947 (char *) "flags", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
11965 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 Py_INCREF(Py_None
); resultobj
= Py_None
;
11989 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
11999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 wxString
const &_result_ref
= (arg1
)->GetFindString();
12004 result
= (wxString
*) &_result_ref
;
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12017 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12032 result
= (wxString
*) &_result_ref
;
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12045 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (int)(arg1
)->GetFlags();
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= PyInt_FromLong((long)result
);
12070 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self",(char *) "flags", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 (arg1
)->SetFlags(arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12098 wxString
*arg2
= 0 ;
12099 bool temp2
= False
;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self",(char *) "str", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12109 arg2
= wxString_in_helper(obj1
);
12110 if (arg2
== NULL
) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 (arg1
)->SetFindString((wxString
const &)*arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12138 wxString
*arg2
= 0 ;
12139 bool temp2
= False
;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self",(char *) "str", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12149 arg2
= wxString_in_helper(obj1
);
12150 if (arg2
== NULL
) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 Py_INCREF(Py_None
); resultobj
= Py_None
;
12175 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12178 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12180 return Py_BuildValue((char *)"");
12182 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
;
12184 wxWindow
*arg1
= (wxWindow
*) 0 ;
12185 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12186 wxString
*arg3
= 0 ;
12187 int arg4
= (int) 0 ;
12188 wxFindReplaceDialog
*result
;
12189 bool temp3
= False
;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 PyObject
* obj2
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12201 arg3
= wxString_in_helper(obj2
);
12202 if (arg3
== NULL
) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12227 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxFindReplaceDialog
*result
;
12230 char *kwnames
[] = {
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12249 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12252 wxWindow
*arg2
= (wxWindow
*) 0 ;
12253 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12254 wxString
*arg4
= 0 ;
12255 int arg5
= (int) 0 ;
12257 bool temp4
= False
;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 PyObject
* obj2
= 0 ;
12261 PyObject
* obj3
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12269 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12271 arg4
= wxString_in_helper(obj3
);
12272 if (arg4
== NULL
) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= PyInt_FromLong((long)result
);
12297 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12300 wxFindReplaceData
*result
;
12301 PyObject
* obj0
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12322 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12325 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "data", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->SetData(arg2
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12352 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12354 return Py_BuildValue((char *)"");
12356 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxWindow
*arg1
= (wxWindow
*) 0 ;
12360 wxString
*arg3
= 0 ;
12361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12365 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12366 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12368 wxMDIParentFrame
*result
;
12369 bool temp3
= False
;
12372 bool temp7
= False
;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj2
= 0 ;
12375 PyObject
* obj3
= 0 ;
12376 PyObject
* obj4
= 0 ;
12377 PyObject
* obj6
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12385 arg3
= wxString_in_helper(obj2
);
12386 if (arg3
== NULL
) SWIG_fail
;
12392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12398 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12403 arg7
= wxString_in_helper(obj6
);
12404 if (arg7
== NULL
) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12438 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxMDIParentFrame
*result
;
12441 char *kwnames
[] = {
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12460 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12463 wxWindow
*arg2
= (wxWindow
*) 0 ;
12465 wxString
*arg4
= 0 ;
12466 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12467 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12468 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12469 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12470 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12471 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12472 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12474 bool temp4
= False
;
12477 bool temp8
= False
;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 PyObject
* obj3
= 0 ;
12481 PyObject
* obj4
= 0 ;
12482 PyObject
* obj5
= 0 ;
12483 PyObject
* obj7
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12492 arg4
= wxString_in_helper(obj3
);
12493 if (arg4
== NULL
) SWIG_fail
;
12499 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12505 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12510 arg8
= wxString_in_helper(obj7
);
12511 if (arg8
== NULL
) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= PyInt_FromLong((long)result
);
12545 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->ActivateNext();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 (arg1
)->ActivatePrevious();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 Py_INCREF(Py_None
); resultobj
= Py_None
;
12593 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->ArrangeIcons();
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12617 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 Py_INCREF(Py_None
); resultobj
= Py_None
;
12641 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12644 wxMDIChildFrame
*result
;
12645 PyObject
* obj0
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
12651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= wxPyMake_wxObject(result
);
12668 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12671 wxMDIClientWindow
*result
;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= wxPyMake_wxObject(result
);
12695 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (wxWindow
*)(arg1
)->GetToolBar();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= wxPyMake_wxObject(result
);
12722 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
;
12724 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 Py_INCREF(Py_None
); resultobj
= Py_None
;
12746 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
12748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12749 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
12751 return Py_BuildValue((char *)"");
12753 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12757 wxString
*arg3
= 0 ;
12758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12762 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
12763 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12764 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12765 wxMDIChildFrame
*result
;
12766 bool temp3
= False
;
12769 bool temp7
= False
;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj2
= 0 ;
12772 PyObject
* obj3
= 0 ;
12773 PyObject
* obj4
= 0 ;
12774 PyObject
* obj6
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12782 arg3
= wxString_in_helper(obj2
);
12783 if (arg3
== NULL
) SWIG_fail
;
12789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12800 arg7
= wxString_in_helper(obj6
);
12801 if (arg7
== NULL
) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= wxPyMake_wxObject(result
);
12837 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxMDIChildFrame
*result
;
12840 char *kwnames
[] = {
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= wxPyMake_wxObject(result
);
12861 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
12864 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12866 wxString
*arg4
= 0 ;
12867 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12868 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12869 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12870 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12871 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
12872 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12873 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12875 bool temp4
= False
;
12878 bool temp8
= False
;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 PyObject
* obj4
= 0 ;
12883 PyObject
* obj5
= 0 ;
12884 PyObject
* obj7
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12893 arg4
= wxString_in_helper(obj3
);
12894 if (arg4
== NULL
) SWIG_fail
;
12900 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12906 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12911 arg8
= wxString_in_helper(obj7
);
12912 if (arg8
== NULL
) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= PyInt_FromLong((long)result
);
12946 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 (arg1
)->Activate();
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 Py_INCREF(Py_None
); resultobj
= Py_None
;
12970 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self",(char *) "maximize", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12982 arg2
= PyInt_AsLong(obj1
) ? true : false;
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->Maximize(arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 Py_INCREF(Py_None
); resultobj
= Py_None
;
13022 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13025 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13027 return Py_BuildValue((char *)"");
13029 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13032 long arg2
= (long) 0 ;
13033 wxMDIClientWindow
*result
;
13034 PyObject
* obj0
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "parent",(char *) "style", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= wxPyMake_wxObject(result
);
13057 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxMDIClientWindow
*result
;
13060 char *kwnames
[] = {
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= wxPyMake_wxObject(result
);
13081 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13084 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13085 long arg3
= (long) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "parent",(char *) "style", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= PyInt_FromLong((long)result
);
13110 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13113 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13115 return Py_BuildValue((char *)"");
13117 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxWindow
*arg1
= (wxWindow
*) 0 ;
13121 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13122 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13123 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13124 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13125 long arg5
= (long) 0 ;
13126 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13127 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13128 wxPyWindow
*result
;
13131 bool temp6
= False
;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj2
= 0 ;
13134 PyObject
* obj3
= 0 ;
13135 PyObject
* obj5
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13156 arg6
= wxString_in_helper(obj5
);
13157 if (arg6
== NULL
) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13183 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13186 PyObject
*arg2
= (PyObject
*) 0 ;
13187 PyObject
*arg3
= (PyObject
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 PyObject
* obj2
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "self",(char *) "_class", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 Py_INCREF(Py_None
); resultobj
= Py_None
;
13213 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13248 int arg6
= (int) wxSIZE_AUTO
;
13249 PyObject
* obj0
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 Py_INCREF(Py_None
); resultobj
= Py_None
;
13270 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "width",(char *) "height", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 Py_INCREF(Py_None
); resultobj
= Py_None
;
13296 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13301 PyObject
* obj0
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "x",(char *) "y", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 Py_INCREF(Py_None
); resultobj
= Py_None
;
13322 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13325 int *arg2
= (int *) 0 ;
13326 int *arg3
= (int *) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 Py_INCREF(Py_None
); resultobj
= Py_None
;
13347 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13348 resultobj
= t_output_helper(resultobj
,o
);
13351 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13352 resultobj
= t_output_helper(resultobj
,o
);
13360 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13363 int *arg2
= (int *) 0 ;
13364 int *arg3
= (int *) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13386 resultobj
= t_output_helper(resultobj
,o
);
13389 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13390 resultobj
= t_output_helper(resultobj
,o
);
13398 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13401 int *arg2
= (int *) 0 ;
13402 int *arg3
= (int *) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
13413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13424 resultobj
= t_output_helper(resultobj
,o
);
13427 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13428 resultobj
= t_output_helper(resultobj
,o
);
13436 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 wxSize
* resultptr
;
13456 resultptr
= new wxSize((wxSize
&) result
);
13457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13465 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13484 wxSize
* resultptr
;
13485 resultptr
= new wxSize((wxSize
&) result
);
13486 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13494 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
13503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 (arg1
)->base_InitDialog();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 Py_INCREF(Py_None
); resultobj
= Py_None
;
13518 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13522 PyObject
* obj0
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
13528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (bool)(arg1
)->base_TransferDataToWindow();
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= PyInt_FromLong((long)result
);
13543 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13547 PyObject
* obj0
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (bool)(arg1
)->base_TransferDataFromWindow();
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= PyInt_FromLong((long)result
);
13568 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (bool)(arg1
)->base_Validate();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= PyInt_FromLong((long)result
);
13593 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
13603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= PyInt_FromLong((long)result
);
13618 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= PyInt_FromLong((long)result
);
13643 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13647 PyObject
* obj0
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 wxSize
* resultptr
;
13663 resultptr
= new wxSize((wxSize
&) result
);
13664 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13672 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13675 wxWindow
*arg2
= (wxWindow
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self",(char *) "child", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
13683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->base_AddChild(arg2
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 Py_INCREF(Py_None
); resultobj
= Py_None
;
13699 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13702 wxWindow
*arg2
= (wxWindow
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "child", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 (arg1
)->base_RemoveChild(arg2
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 Py_INCREF(Py_None
); resultobj
= Py_None
;
13726 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
13731 return Py_BuildValue((char *)"");
13733 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxWindow
*arg1
= (wxWindow
*) 0 ;
13737 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13738 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13739 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13740 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13741 long arg5
= (long) 0 ;
13742 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13743 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13747 bool temp6
= False
;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj2
= 0 ;
13750 PyObject
* obj3
= 0 ;
13751 PyObject
* obj5
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13761 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13767 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13772 arg6
= wxString_in_helper(obj5
);
13773 if (arg6
== NULL
) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
13799 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
13802 PyObject
*arg2
= (PyObject
*) 0 ;
13803 PyObject
*arg3
= (PyObject
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 PyObject
* obj2
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self",(char *) "self",(char *) "_class", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 Py_INCREF(Py_None
); resultobj
= Py_None
;
13829 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 Py_INCREF(Py_None
); resultobj
= Py_None
;
13857 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
13864 int arg6
= (int) wxSIZE_AUTO
;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 Py_INCREF(Py_None
); resultobj
= Py_None
;
13886 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "width",(char *) "height", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 Py_INCREF(Py_None
); resultobj
= Py_None
;
13912 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "x",(char *) "y", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 Py_INCREF(Py_None
); resultobj
= Py_None
;
13938 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
13941 int *arg2
= (int *) 0 ;
13942 int *arg3
= (int *) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 Py_INCREF(Py_None
); resultobj
= Py_None
;
13963 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13964 resultobj
= t_output_helper(resultobj
,o
);
13967 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13968 resultobj
= t_output_helper(resultobj
,o
);
13976 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
13979 int *arg2
= (int *) 0 ;
13980 int *arg3
= (int *) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 Py_INCREF(Py_None
); resultobj
= Py_None
;
14001 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14002 resultobj
= t_output_helper(resultobj
,o
);
14005 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14006 resultobj
= t_output_helper(resultobj
,o
);
14014 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14017 int *arg2
= (int *) 0 ;
14018 int *arg3
= (int *) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 Py_INCREF(Py_None
); resultobj
= Py_None
;
14039 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14040 resultobj
= t_output_helper(resultobj
,o
);
14043 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14044 resultobj
= t_output_helper(resultobj
,o
);
14052 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 wxSize
* resultptr
;
14072 resultptr
= new wxSize((wxSize
&) result
);
14073 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14081 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 wxSize
* resultptr
;
14101 resultptr
= new wxSize((wxSize
&) result
);
14102 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14110 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 (arg1
)->base_InitDialog();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 Py_INCREF(Py_None
); resultobj
= Py_None
;
14134 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (bool)(arg1
)->base_TransferDataToWindow();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= PyInt_FromLong((long)result
);
14159 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= PyInt_FromLong((long)result
);
14184 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14188 PyObject
* obj0
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (bool)(arg1
)->base_Validate();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= PyInt_FromLong((long)result
);
14209 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= PyInt_FromLong((long)result
);
14234 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= PyInt_FromLong((long)result
);
14259 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14278 wxSize
* resultptr
;
14279 resultptr
= new wxSize((wxSize
&) result
);
14280 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14288 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14291 wxWindow
*arg2
= (wxWindow
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "child", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 (arg1
)->base_AddChild(arg2
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14318 wxWindow
*arg2
= (wxWindow
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self",(char *) "child", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14327 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->base_RemoveChild(arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14345 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14347 return Py_BuildValue((char *)"");
14349 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxPrintData
*result
;
14352 char *kwnames
[] = {
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (wxPrintData
*)new wxPrintData();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14371 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 Py_INCREF(Py_None
); resultobj
= Py_None
;
14395 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)(arg1
)->GetNoCopies();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= PyInt_FromLong((long)result
);
14420 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (bool)(arg1
)->GetCollate();
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= PyInt_FromLong((long)result
);
14445 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14449 PyObject
* obj0
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (int)(arg1
)->GetOrientation();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= PyInt_FromLong((long)result
);
14470 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 result
= (bool)(arg1
)->Ok();
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= PyInt_FromLong((long)result
);
14495 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
14510 result
= (wxString
*) &_result_ref
;
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14523 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (bool)(arg1
)->GetColour();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= PyInt_FromLong((long)result
);
14548 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (int)(arg1
)->GetDuplex();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= PyInt_FromLong((long)result
);
14573 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (int)(arg1
)->GetPaperId();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= PyInt_FromLong((long)result
);
14598 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
14613 result
= (wxSize
*) &_result_ref
;
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14626 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14629 wxPrintQuality result
;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (arg1
)->GetQuality();
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 wxPrintQuality
* resultptr
;
14646 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
14647 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
14655 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self",(char *) "v", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 (arg1
)->SetNoCopies(arg2
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 PyObject
* obj1
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self",(char *) "flag", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
14691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14692 arg2
= PyInt_AsLong(obj1
) ? true : false;
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 (arg1
)->SetCollate(arg2
);
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 Py_INCREF(Py_None
); resultobj
= Py_None
;
14708 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "orient", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->SetOrientation(arg2
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14736 wxString
*arg2
= 0 ;
14737 bool temp2
= False
;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self",(char *) "name", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
14745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14747 arg2
= wxString_in_helper(obj1
);
14748 if (arg2
== NULL
) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 Py_INCREF(Py_None
); resultobj
= Py_None
;
14773 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self",(char *) "colour", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14785 arg2
= PyInt_AsLong(obj1
) ? true : false;
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 (arg1
)->SetColour(arg2
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 Py_INCREF(Py_None
); resultobj
= Py_None
;
14801 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
;
14803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14805 PyObject
* obj0
= 0 ;
14806 char *kwnames
[] = {
14807 (char *) "self",(char *) "duplex", NULL
14810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
14811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 Py_INCREF(Py_None
); resultobj
= Py_None
;
14826 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self",(char *) "sizeId", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 Py_INCREF(Py_None
); resultobj
= Py_None
;
14851 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "self",(char *) "sz", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 Py_INCREF(Py_None
); resultobj
= Py_None
;
14882 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14885 wxPrintQuality arg2
;
14886 wxPrintQuality
*argp2
;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self",(char *) "quality", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14895 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 (arg1
)->SetQuality(arg2
);
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 Py_INCREF(Py_None
); resultobj
= Py_None
;
14911 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
14926 result
= (wxString
*) &_result_ref
;
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14939 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
14954 result
= (wxString
*) &_result_ref
;
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14967 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
14982 result
= (wxString
*) &_result_ref
;
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14995 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 wxString
const &_result_ref
= (arg1
)->GetFilename();
15010 result
= (wxString
*) &_result_ref
;
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15023 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15038 result
= (wxString
*) &_result_ref
;
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15051 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (double)(arg1
)->GetPrinterScaleX();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= PyFloat_FromDouble(result
);
15076 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (double)(arg1
)->GetPrinterScaleY();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= PyFloat_FromDouble(result
);
15101 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (long)(arg1
)->GetPrinterTranslateX();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= PyInt_FromLong((long)result
);
15126 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (long)(arg1
)->GetPrinterTranslateY();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= PyInt_FromLong((long)result
);
15151 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self", NULL
15160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (int)(arg1
)->GetPrintMode();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= PyInt_FromLong((long)result
);
15176 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15179 wxString
*arg2
= 0 ;
15180 bool temp2
= False
;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self",(char *) "command", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15190 arg2
= wxString_in_helper(obj1
);
15191 if (arg2
== NULL
) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15216 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15219 wxString
*arg2
= 0 ;
15220 bool temp2
= False
;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "options", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15230 arg2
= wxString_in_helper(obj1
);
15231 if (arg2
== NULL
) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 Py_INCREF(Py_None
); resultobj
= Py_None
;
15256 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15259 wxString
*arg2
= 0 ;
15260 bool temp2
= False
;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self",(char *) "command", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15270 arg2
= wxString_in_helper(obj1
);
15271 if (arg2
== NULL
) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 Py_INCREF(Py_None
); resultobj
= Py_None
;
15296 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15299 wxString
*arg2
= 0 ;
15300 bool temp2
= False
;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "filename", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15310 arg2
= wxString_in_helper(obj1
);
15311 if (arg2
== NULL
) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 (arg1
)->SetFilename((wxString
const &)*arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15339 wxString
*arg2
= 0 ;
15340 bool temp2
= False
;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self",(char *) "path", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15350 arg2
= wxString_in_helper(obj1
);
15351 if (arg2
== NULL
) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 Py_INCREF(Py_None
); resultobj
= Py_None
;
15376 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self",(char *) "x", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 (arg1
)->SetPrinterScaleX(arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self",(char *) "y", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 (arg1
)->SetPrinterScaleY(arg2
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 Py_INCREF(Py_None
); resultobj
= Py_None
;
15426 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self",(char *) "x",(char *) "y", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 (arg1
)->SetPrinterScaling(arg2
,arg3
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 Py_INCREF(Py_None
); resultobj
= Py_None
;
15452 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self",(char *) "x", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
15462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->SetPrinterTranslateX(arg2
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "y", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 (arg1
)->SetPrinterTranslateY(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 Py_INCREF(Py_None
); resultobj
= Py_None
;
15502 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self",(char *) "x",(char *) "y", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 Py_INCREF(Py_None
); resultobj
= Py_None
;
15528 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self",(char *) "printMode", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
15555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15556 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
15558 return Py_BuildValue((char *)"");
15560 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxPageSetupDialogData
*result
;
15563 char *kwnames
[] = {
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
15582 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self",(char *) "flag", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15618 arg2
= PyInt_AsLong(obj1
) ? true : false;
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->EnableHelp(arg2
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 Py_INCREF(Py_None
); resultobj
= Py_None
;
15634 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self",(char *) "flag", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15646 arg2
= PyInt_AsLong(obj1
) ? true : false;
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 (arg1
)->EnableMargins(arg2
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 Py_INCREF(Py_None
); resultobj
= Py_None
;
15662 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj1
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self",(char *) "flag", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15674 arg2
= PyInt_AsLong(obj1
) ? true : false;
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 (arg1
)->EnableOrientation(arg2
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 Py_INCREF(Py_None
); resultobj
= Py_None
;
15690 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self",(char *) "flag", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15702 arg2
= PyInt_AsLong(obj1
) ? true : false;
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 (arg1
)->EnablePaper(arg2
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 Py_INCREF(Py_None
); resultobj
= Py_None
;
15718 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "flag", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15730 arg2
= PyInt_AsLong(obj1
) ? true : false;
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 (arg1
)->EnablePrinter(arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 Py_INCREF(Py_None
); resultobj
= Py_None
;
15746 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 char *kwnames
[] = {
15752 (char *) "self", NULL
15755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
15756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)(arg1
)->GetDefaultMinMargins();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= PyInt_FromLong((long)result
);
15771 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15775 PyObject
* obj0
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (bool)(arg1
)->GetEnableMargins();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= PyInt_FromLong((long)result
);
15796 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->GetEnableOrientation();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= PyInt_FromLong((long)result
);
15821 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 result
= (bool)(arg1
)->GetEnablePaper();
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= PyInt_FromLong((long)result
);
15846 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (bool)(arg1
)->GetEnablePrinter();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= PyInt_FromLong((long)result
);
15871 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (bool)(arg1
)->GetEnableHelp();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= PyInt_FromLong((long)result
);
15896 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (bool)(arg1
)->GetDefaultInfo();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= PyInt_FromLong((long)result
);
15921 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15925 PyObject
* obj0
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (arg1
)->GetMarginTopLeft();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 wxPoint
* resultptr
;
15941 resultptr
= new wxPoint((wxPoint
&) result
);
15942 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15950 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (arg1
)->GetMarginBottomRight();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 wxPoint
* resultptr
;
15970 resultptr
= new wxPoint((wxPoint
&) result
);
15971 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15979 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (arg1
)->GetMinMarginTopLeft();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 wxPoint
* resultptr
;
15999 resultptr
= new wxPoint((wxPoint
&) result
);
16000 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16008 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (arg1
)->GetMinMarginBottomRight();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16027 wxPoint
* resultptr
;
16028 resultptr
= new wxPoint((wxPoint
&) result
);
16029 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16037 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (int)(arg1
)->GetPaperId();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= PyInt_FromLong((long)result
);
16062 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (arg1
)->GetPaperSize();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 wxSize
* resultptr
;
16082 resultptr
= new wxSize((wxSize
&) result
);
16083 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16091 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16094 wxPrintData
*result
;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16106 result
= (wxPrintData
*) &_result_ref
;
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16119 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (bool)(arg1
)->Ok();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= PyInt_FromLong((long)result
);
16144 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self",(char *) "flag", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16156 arg2
= PyInt_AsLong(obj1
) ? true : false;
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->SetDefaultInfo(arg2
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "flag", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16184 arg2
= PyInt_AsLong(obj1
) ? true : false;
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 (arg1
)->SetDefaultMinMargins(arg2
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16200 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16203 wxPoint
*arg2
= 0 ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "pt", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16224 Py_INCREF(Py_None
); resultobj
= Py_None
;
16231 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16234 wxPoint
*arg2
= 0 ;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self",(char *) "pt", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 Py_INCREF(Py_None
); resultobj
= Py_None
;
16262 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16265 wxPoint
*arg2
= 0 ;
16267 PyObject
* obj0
= 0 ;
16268 PyObject
* obj1
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self",(char *) "pt", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16277 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16296 wxPoint
*arg2
= 0 ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "pt", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self",(char *) "id", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 Py_INCREF(Py_None
); resultobj
= Py_None
;
16349 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "size", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 Py_INCREF(Py_None
); resultobj
= Py_None
;
16380 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16383 wxPrintData
*arg2
= 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "printData", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16393 if (arg2
== NULL
) {
16394 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16403 Py_INCREF(Py_None
); resultobj
= Py_None
;
16410 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
16412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16413 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
16415 return Py_BuildValue((char *)"");
16417 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxWindow
*arg1
= (wxWindow
*) 0 ;
16420 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
16421 wxPageSetupDialog
*result
;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "parent",(char *) "data", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
16447 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16450 wxPageSetupDialogData
*result
;
16451 PyObject
* obj0
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
16462 result
= (wxPageSetupDialogData
*) &_result_ref
;
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
16475 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (int)(arg1
)->ShowModal();
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= PyInt_FromLong((long)result
);
16500 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
16502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16503 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
16505 return Py_BuildValue((char *)"");
16507 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxPrintDialogData
*result
;
16510 char *kwnames
[] = {
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (wxPrintDialogData
*)new wxPrintDialogData();
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
16529 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= PyInt_FromLong((long)result
);
16578 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= PyInt_FromLong((long)result
);
16603 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= PyInt_FromLong((long)result
);
16628 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
16638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= PyInt_FromLong((long)result
);
16653 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= PyInt_FromLong((long)result
);
16678 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
16688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= PyInt_FromLong((long)result
);
16703 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
16713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= PyInt_FromLong((long)result
);
16728 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= PyInt_FromLong((long)result
);
16753 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= PyInt_FromLong((long)result
);
16778 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= PyInt_FromLong((long)result
);
16803 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16807 PyObject
* obj0
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self",(char *) "v", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
16813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 (arg1
)->SetFromPage(arg2
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 Py_INCREF(Py_None
); resultobj
= Py_None
;
16828 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16832 PyObject
* obj0
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "self",(char *) "v", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
16838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 (arg1
)->SetToPage(arg2
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 Py_INCREF(Py_None
); resultobj
= Py_None
;
16853 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16857 PyObject
* obj0
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self",(char *) "v", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
16863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->SetMinPage(arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 Py_INCREF(Py_None
); resultobj
= Py_None
;
16878 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self",(char *) "v", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 (arg1
)->SetMaxPage(arg2
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 Py_INCREF(Py_None
); resultobj
= Py_None
;
16903 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self",(char *) "v", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 (arg1
)->SetNoCopies(arg2
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 Py_INCREF(Py_None
); resultobj
= Py_None
;
16928 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16932 PyObject
* obj0
= 0 ;
16933 PyObject
* obj1
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self",(char *) "flag", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
16939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16940 arg2
= PyInt_AsLong(obj1
) ? true : false;
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 (arg1
)->SetAllPages(arg2
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 Py_INCREF(Py_None
); resultobj
= Py_None
;
16956 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self",(char *) "flag", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16968 arg2
= PyInt_AsLong(obj1
) ? true : false;
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 (arg1
)->SetSelection(arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 Py_INCREF(Py_None
); resultobj
= Py_None
;
16984 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self",(char *) "flag", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16996 arg2
= PyInt_AsLong(obj1
) ? true : false;
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 (arg1
)->SetCollate(arg2
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 Py_INCREF(Py_None
); resultobj
= Py_None
;
17012 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self",(char *) "flag", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17024 arg2
= PyInt_AsLong(obj1
) ? true : false;
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 (arg1
)->SetPrintToFile(arg2
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 Py_INCREF(Py_None
); resultobj
= Py_None
;
17040 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "flag", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17052 arg2
= PyInt_AsLong(obj1
) ? true : false;
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 (arg1
)->SetSetupDialog(arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 Py_INCREF(Py_None
); resultobj
= Py_None
;
17068 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self",(char *) "flag", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17080 arg2
= PyInt_AsLong(obj1
) ? true : false;
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 (arg1
)->EnablePrintToFile(arg2
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 Py_INCREF(Py_None
); resultobj
= Py_None
;
17096 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self",(char *) "flag", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17108 arg2
= PyInt_AsLong(obj1
) ? true : false;
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 (arg1
)->EnableSelection(arg2
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 Py_INCREF(Py_None
); resultobj
= Py_None
;
17124 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self",(char *) "flag", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17136 arg2
= PyInt_AsLong(obj1
) ? true : false;
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->EnablePageNumbers(arg2
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 Py_INCREF(Py_None
); resultobj
= Py_None
;
17152 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "flag", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17164 arg2
= PyInt_AsLong(obj1
) ? true : false;
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->EnableHelp(arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 Py_INCREF(Py_None
); resultobj
= Py_None
;
17180 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= PyInt_FromLong((long)result
);
17205 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= PyInt_FromLong((long)result
);
17230 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= PyInt_FromLong((long)result
);
17255 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= PyInt_FromLong((long)result
);
17280 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= PyInt_FromLong((long)result
);
17305 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17308 wxPrintData
*result
;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17320 result
= (wxPrintData
*) &_result_ref
;
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17333 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17336 wxPrintData
*arg2
= 0 ;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "printData", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17346 if (arg2
== NULL
) {
17347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 Py_INCREF(Py_None
); resultobj
= Py_None
;
17363 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17366 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17368 return Py_BuildValue((char *)"");
17370 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxWindow
*arg1
= (wxWindow
*) 0 ;
17373 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17374 wxPrintDialog
*result
;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "parent",(char *) "data", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
17400 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17403 wxPrintDialogData
*result
;
17404 PyObject
* obj0
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17415 result
= (wxPrintDialogData
*) &_result_ref
;
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17428 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= (wxDC
*)(arg1
)->GetPrintDC();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= wxPyMake_wxObject(result
);
17455 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17459 PyObject
* obj0
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (int)(arg1
)->ShowModal();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= PyInt_FromLong((long)result
);
17480 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17483 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
17485 return Py_BuildValue((char *)"");
17487 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
17491 PyObject
* obj0
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "data", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
17498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (wxPrinter
*)new wxPrinter(arg1
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
17514 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 Py_INCREF(Py_None
); resultobj
= Py_None
;
17538 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17541 wxWindow
*arg2
= (wxWindow
*) 0 ;
17542 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 PyObject
* obj2
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "parent",(char *) "printout", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17553 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->CreateAbortWindow(arg2
,arg3
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17571 wxPrintDialogData
*result
;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17583 result
= (wxPrintDialogData
*) &_result_ref
;
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17596 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17599 wxWindow
*arg2
= (wxWindow
*) 0 ;
17600 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17601 int arg4
= (int) True
;
17603 PyObject
* obj0
= 0 ;
17604 PyObject
* obj1
= 0 ;
17605 PyObject
* obj2
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17613 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 resultobj
= PyInt_FromLong((long)result
);
17628 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17631 wxWindow
*arg2
= (wxWindow
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self",(char *) "parent", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= wxPyMake_wxObject(result
);
17658 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17661 wxWindow
*arg2
= (wxWindow
*) 0 ;
17662 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17663 wxString
*arg4
= 0 ;
17664 bool temp4
= False
;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 PyObject
* obj2
= 0 ;
17668 PyObject
* obj3
= 0 ;
17669 char *kwnames
[] = {
17670 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
17673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17676 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17678 arg4
= wxString_in_helper(obj3
);
17679 if (arg4
== NULL
) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 Py_INCREF(Py_None
); resultobj
= Py_None
;
17704 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17707 wxWindow
*arg2
= (wxWindow
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "parent", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (bool)(arg1
)->Setup(arg2
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= PyInt_FromLong((long)result
);
17732 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)(arg1
)->GetAbort();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= PyInt_FromLong((long)result
);
17757 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17760 char *kwnames
[] = {
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (int)wxPrinter::GetLastError();
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= PyInt_FromLong((long)result
);
17779 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
17781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17782 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
17784 return Py_BuildValue((char *)"");
17786 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
17789 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17790 wxPyPrintout
*result
;
17791 bool temp1
= False
;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "title", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
17800 arg1
= wxString_in_helper(obj0
);
17801 if (arg1
== NULL
) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= wxPyMake_wxObject(result
);
17829 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
17832 PyObject
*arg2
= (PyObject
*) 0 ;
17833 PyObject
*arg3
= (PyObject
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 PyObject
* obj2
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self",(char *) "self",(char *) "_class", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 Py_INCREF(Py_None
); resultobj
= Py_None
;
17859 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
17863 PyObject
* obj0
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "self", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
17869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17890 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 result
= (wxDC
*)(arg1
)->GetDC();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= wxPyMake_wxObject(result
);
17917 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
17920 wxDC
*arg2
= (wxDC
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self",(char *) "dc", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 (arg1
)->SetDC(arg2
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17944 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "w",(char *) "h", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 (arg1
)->SetPageSizePixels(arg2
,arg3
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 Py_INCREF(Py_None
); resultobj
= Py_None
;
17970 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
17973 int *arg2
= (int *) 0 ;
17974 int *arg3
= (int *) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 (arg1
)->GetPageSizePixels(arg2
,arg3
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17996 resultobj
= t_output_helper(resultobj
,o
);
17999 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18000 resultobj
= t_output_helper(resultobj
,o
);
18008 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self",(char *) "w",(char *) "h", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 Py_INCREF(Py_None
); resultobj
= Py_None
;
18034 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18037 int *arg2
= (int *) 0 ;
18038 int *arg3
= (int *) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18060 resultobj
= t_output_helper(resultobj
,o
);
18063 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18064 resultobj
= t_output_helper(resultobj
,o
);
18072 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self",(char *) "x",(char *) "y", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->SetPPIScreen(arg2
,arg3
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 Py_INCREF(Py_None
); resultobj
= Py_None
;
18098 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18101 int *arg2
= (int *) 0 ;
18102 int *arg3
= (int *) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "self", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 (arg1
)->GetPPIScreen(arg2
,arg3
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 Py_INCREF(Py_None
); resultobj
= Py_None
;
18123 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18124 resultobj
= t_output_helper(resultobj
,o
);
18127 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18128 resultobj
= t_output_helper(resultobj
,o
);
18136 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self",(char *) "x",(char *) "y", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 Py_INCREF(Py_None
); resultobj
= Py_None
;
18162 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18165 int *arg2
= (int *) 0 ;
18166 int *arg3
= (int *) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18188 resultobj
= t_output_helper(resultobj
,o
);
18191 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18192 resultobj
= t_output_helper(resultobj
,o
);
18200 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (bool)(arg1
)->IsPreview();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= PyInt_FromLong((long)result
);
18225 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self",(char *) "p", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18237 arg2
= PyInt_AsLong(obj1
) ? true : false;
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->SetIsPreview(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= PyInt_FromLong((long)result
);
18280 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 (arg1
)->base_OnEndDocument();
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 Py_INCREF(Py_None
); resultobj
= Py_None
;
18304 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 (arg1
)->base_OnBeginPrinting();
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 Py_INCREF(Py_None
); resultobj
= Py_None
;
18328 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 (arg1
)->base_OnEndPrinting();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 Py_INCREF(Py_None
); resultobj
= Py_None
;
18352 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 (arg1
)->base_OnPreparePrinting();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 Py_INCREF(Py_None
); resultobj
= Py_None
;
18376 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self",(char *) "page", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (bool)(arg1
)->base_HasPage(arg2
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= PyInt_FromLong((long)result
);
18402 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18405 int *arg2
= (int *) 0 ;
18406 int *arg3
= (int *) 0 ;
18407 int *arg4
= (int *) 0 ;
18408 int *arg5
= (int *) 0 ;
18413 PyObject
* obj0
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "self", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
18423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18433 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18434 resultobj
= t_output_helper(resultobj
,o
);
18437 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18438 resultobj
= t_output_helper(resultobj
,o
);
18441 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
18442 resultobj
= t_output_helper(resultobj
,o
);
18445 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
18446 resultobj
= t_output_helper(resultobj
,o
);
18454 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
18456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18457 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
18459 return Py_BuildValue((char *)"");
18461 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18464 wxWindow
*arg2
= (wxWindow
*) 0 ;
18465 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18466 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18467 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18468 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18469 long arg5
= (long) 0 ;
18470 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
18471 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18472 wxPreviewCanvas
*result
;
18475 bool temp6
= False
;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 PyObject
* obj2
= 0 ;
18479 PyObject
* obj3
= 0 ;
18480 PyObject
* obj5
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18502 arg6
= wxString_in_helper(obj5
);
18503 if (arg6
== NULL
) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
18529 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
18531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18532 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
18534 return Py_BuildValue((char *)"");
18536 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18539 wxFrame
*arg2
= (wxFrame
*) 0 ;
18540 wxString
*arg3
= 0 ;
18541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18545 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
18546 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
18547 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18548 wxPreviewFrame
*result
;
18549 bool temp3
= False
;
18552 bool temp7
= False
;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 PyObject
* obj2
= 0 ;
18556 PyObject
* obj3
= 0 ;
18557 PyObject
* obj4
= 0 ;
18558 PyObject
* obj6
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18567 arg3
= wxString_in_helper(obj2
);
18568 if (arg3
== NULL
) SWIG_fail
;
18574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18585 arg7
= wxString_in_helper(obj6
);
18586 if (arg7
== NULL
) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
18620 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18623 PyObject
* obj0
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->Initialize();
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->CreateControlBar();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 Py_INCREF(Py_None
); resultobj
= Py_None
;
18668 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->CreateCanvas();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18692 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18695 wxPreviewControlBar
*result
;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
18702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
18717 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
18719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18720 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
18722 return Py_BuildValue((char *)"");
18724 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18728 wxWindow
*arg3
= (wxWindow
*) 0 ;
18729 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18730 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18731 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18732 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18733 long arg6
= (long) wxTAB_TRAVERSAL
;
18734 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
18735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18736 wxPreviewControlBar
*result
;
18739 bool temp7
= False
;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 PyObject
* obj3
= 0 ;
18743 PyObject
* obj4
= 0 ;
18744 PyObject
* obj6
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18751 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18766 arg7
= wxString_in_helper(obj6
);
18767 if (arg7
== NULL
) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
18793 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (int)(arg1
)->GetZoomControl();
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= PyInt_FromLong((long)result
);
18818 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "zoom", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 (arg1
)->SetZoomControl(arg2
);
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 Py_INCREF(Py_None
); resultobj
= Py_None
;
18843 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18846 wxPrintPreview
*result
;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
18868 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 Py_INCREF(Py_None
); resultobj
= Py_None
;
18892 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 (arg1
)->OnPrevious();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 Py_INCREF(Py_None
); resultobj
= Py_None
;
18916 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18933 Py_INCREF(Py_None
); resultobj
= Py_None
;
18940 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18941 PyObject
*resultobj
;
18942 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
18949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 Py_INCREF(Py_None
); resultobj
= Py_None
;
18988 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
18990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18991 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
18993 return Py_BuildValue((char *)"");
18995 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18998 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
18999 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19000 wxPrintPreview
*result
;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 PyObject
* obj2
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19012 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19028 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self",(char *) "pageNum", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= PyInt_FromLong((long)result
);
19054 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (int)(arg1
)->GetCurrentPage();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= PyInt_FromLong((long)result
);
19079 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19082 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "printout", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 (arg1
)->SetPrintout(arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19109 wxPyPrintout
*result
;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= wxPyMake_wxObject(result
);
19133 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19136 wxPyPrintout
*result
;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= wxPyMake_wxObject(result
);
19160 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19163 wxFrame
*arg2
= (wxFrame
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "frame", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 (arg1
)->SetFrame(arg2
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 Py_INCREF(Py_None
); resultobj
= Py_None
;
19187 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19190 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self",(char *) "canvas", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->SetCanvas(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (wxFrame
*)(arg1
)->GetFrame();
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= wxPyMake_wxObject(result
);
19241 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19244 wxPreviewCanvas
*result
;
19245 PyObject
* obj0
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19266 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19269 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 PyObject
* obj2
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19281 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19282 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19283 if (arg3
== NULL
) {
19284 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= PyInt_FromLong((long)result
);
19300 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19303 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 PyObject
* obj2
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19316 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19317 if (arg3
== NULL
) {
19318 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= PyInt_FromLong((long)result
);
19334 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "pageNum", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (bool)(arg1
)->RenderPage(arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= PyInt_FromLong((long)result
);
19360 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19363 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "canvas", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 (arg1
)->AdjustScrollbars(arg2
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19390 wxPrintDialogData
*result
;
19391 PyObject
* obj0
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19402 result
= (wxPrintDialogData
*) &_result_ref
;
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19415 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self",(char *) "percent", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 (arg1
)->SetZoom(arg2
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 Py_INCREF(Py_None
); resultobj
= Py_None
;
19440 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (int)(arg1
)->GetZoom();
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= PyInt_FromLong((long)result
);
19465 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19469 PyObject
* obj0
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= (int)(arg1
)->GetMaxPage();
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= PyInt_FromLong((long)result
);
19490 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 result
= (int)(arg1
)->GetMinPage();
19505 wxPyEndAllowThreads(__tstate
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= PyInt_FromLong((long)result
);
19515 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 result
= (bool)(arg1
)->Ok();
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= PyInt_FromLong((long)result
);
19540 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self",(char *) "ok", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19552 arg2
= PyInt_AsLong(obj1
) ? true : false;
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 (arg1
)->SetOk(arg2
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 Py_INCREF(Py_None
); resultobj
= Py_None
;
19568 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj1
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self",(char *) "interactive", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 arg2
= PyInt_AsLong(obj1
) ? true : false;
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (bool)(arg1
)->Print(arg2
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= PyInt_FromLong((long)result
);
19597 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19600 PyObject
* obj0
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 (arg1
)->DetermineScaling();
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 Py_INCREF(Py_None
); resultobj
= Py_None
;
19621 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
19623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19624 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
19626 return Py_BuildValue((char *)"");
19628 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19631 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19632 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19633 wxPyPrintPreview
*result
;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 PyObject
* obj2
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19645 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
19661 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19664 PyObject
*arg2
= (PyObject
*) 0 ;
19665 PyObject
*arg3
= (PyObject
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 PyObject
* obj2
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "self",(char *) "_class", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 Py_INCREF(Py_None
); resultobj
= Py_None
;
19691 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self",(char *) "pageNum", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= PyInt_FromLong((long)result
);
19717 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19720 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 PyObject
* obj2
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19734 if (arg3
== NULL
) {
19735 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= PyInt_FromLong((long)result
);
19751 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19754 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 PyObject
* obj1
= 0 ;
19759 PyObject
* obj2
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19767 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19768 if (arg3
== NULL
) {
19769 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= PyInt_FromLong((long)result
);
19785 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self",(char *) "pageNum", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->base_RenderPage(arg2
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= PyInt_FromLong((long)result
);
19811 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "percent", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 (arg1
)->base_SetZoom(arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 Py_INCREF(Py_None
); resultobj
= Py_None
;
19836 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self",(char *) "interactive", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
19848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19849 arg2
= PyInt_AsLong(obj1
) ? true : false;
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (bool)(arg1
)->base_Print(arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= PyInt_FromLong((long)result
);
19865 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 (arg1
)->base_DetermineScaling();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 Py_INCREF(Py_None
); resultobj
= Py_None
;
19889 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
19891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19892 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
19894 return Py_BuildValue((char *)"");
19896 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19899 wxFrame
*arg2
= (wxFrame
*) 0 ;
19900 wxString
*arg3
= 0 ;
19901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19905 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19906 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19908 wxPyPreviewFrame
*result
;
19909 bool temp3
= False
;
19912 bool temp7
= False
;
19913 PyObject
* obj0
= 0 ;
19914 PyObject
* obj1
= 0 ;
19915 PyObject
* obj2
= 0 ;
19916 PyObject
* obj3
= 0 ;
19917 PyObject
* obj4
= 0 ;
19918 PyObject
* obj6
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19927 arg3
= wxString_in_helper(obj2
);
19928 if (arg3
== NULL
) SWIG_fail
;
19934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19945 arg7
= wxString_in_helper(obj6
);
19946 if (arg7
== NULL
) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
19980 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
19983 PyObject
*arg2
= (PyObject
*) 0 ;
19984 PyObject
*arg3
= (PyObject
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 PyObject
* obj2
= 0 ;
19988 char *kwnames
[] = {
19989 (char *) "self",(char *) "self",(char *) "_class", NULL
19992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20013 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "canvas", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 (arg1
)->SetPreviewCanvas(arg2
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20037 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20040 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "bar", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->SetControlBar(arg2
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 Py_INCREF(Py_None
); resultobj
= Py_None
;
20064 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->base_Initialize();
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 Py_INCREF(Py_None
); resultobj
= Py_None
;
20088 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 (arg1
)->base_CreateCanvas();
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 Py_INCREF(Py_None
); resultobj
= Py_None
;
20112 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 (arg1
)->base_CreateControlBar();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 Py_INCREF(Py_None
); resultobj
= Py_None
;
20136 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20139 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20141 return Py_BuildValue((char *)"");
20143 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20147 wxWindow
*arg3
= (wxWindow
*) 0 ;
20148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20152 long arg6
= (long) 0 ;
20153 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20155 wxPyPreviewControlBar
*result
;
20158 bool temp7
= False
;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj2
= 0 ;
20161 PyObject
* obj3
= 0 ;
20162 PyObject
* obj4
= 0 ;
20163 PyObject
* obj6
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20170 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20180 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20185 arg7
= wxString_in_helper(obj6
);
20186 if (arg7
== NULL
) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20212 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20215 PyObject
*arg2
= (PyObject
*) 0 ;
20216 PyObject
*arg3
= (PyObject
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 PyObject
* obj2
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self",(char *) "self",(char *) "_class", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 Py_INCREF(Py_None
); resultobj
= Py_None
;
20242 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20245 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "preview", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->SetPrintPreview(arg2
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20269 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 (arg1
)->base_CreateButtons();
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 Py_INCREF(Py_None
); resultobj
= Py_None
;
20293 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20297 PyObject
* obj0
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "zoom", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->base_SetZoomControl(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20321 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20323 return Py_BuildValue((char *)"");
20325 static PyMethodDef SwigMethods
[] = {
20326 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20327 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20328 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20329 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20330 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20331 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20332 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20333 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20334 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20335 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20336 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20337 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20338 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20339 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20340 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20341 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20342 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20343 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20344 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20345 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20346 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20347 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20348 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20349 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20350 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20351 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20352 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20353 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20354 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20355 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20356 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20357 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20358 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20359 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20360 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20361 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20362 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20363 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20364 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20365 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20366 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20367 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20368 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20369 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20370 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20371 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
20372 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
20373 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20374 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20375 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
20376 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20377 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20378 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20379 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20380 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20381 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20382 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20383 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20384 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20385 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20386 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20387 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20388 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
20389 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
20390 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
20391 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
20392 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
20393 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
20394 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20395 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20396 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
20397 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
20398 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
20399 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
20400 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20401 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
20402 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
20403 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
20404 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20405 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20406 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20407 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
20408 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
20409 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20410 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20411 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
20412 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
20413 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
20414 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20415 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
20416 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
20417 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20418 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20419 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
20420 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20421 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20422 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20423 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20424 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20425 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20426 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20427 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
20428 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
20429 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
20430 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
20431 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
20432 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20433 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20434 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20435 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
20436 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
20437 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20438 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20439 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
20440 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
20441 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
20442 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
20443 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
20444 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
20445 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20446 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20447 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20448 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20449 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20450 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20451 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20452 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20453 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20454 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20455 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20456 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20457 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
20458 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
20459 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20460 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20461 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
20462 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
20463 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
20464 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
20465 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20466 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20467 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20468 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20469 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20470 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
20471 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
20472 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
20473 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20474 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20475 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20476 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20477 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20478 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20479 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20480 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20481 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20482 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20483 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20484 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20485 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20486 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20487 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
20488 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
20489 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20490 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20491 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20492 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20493 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20494 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20495 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
20496 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
20497 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20498 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20499 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20500 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20501 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
20502 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
20503 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20504 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20505 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20506 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20507 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
20508 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
20509 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20510 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20511 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
20512 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
20513 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
20514 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20515 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20516 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20517 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20518 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20519 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20520 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
20521 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20522 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
20523 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20524 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20525 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
20526 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
20527 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20528 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
20529 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20530 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20531 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
20532 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20533 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20534 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
20535 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
20536 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
20537 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
20538 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
20539 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20540 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20541 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20542 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20543 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20544 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
20545 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
20546 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
20547 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
20548 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
20549 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
20550 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
20551 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20552 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20553 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20554 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20555 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
20556 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
20557 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
20558 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
20559 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20560 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20561 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20562 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
20563 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20564 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
20565 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
20566 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
20567 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
20568 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
20569 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20570 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20571 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20572 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
20573 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20574 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
20575 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
20576 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
20577 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
20578 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
20579 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20580 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
20581 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20582 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
20583 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20584 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20585 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20586 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20587 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20588 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20589 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
20590 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20591 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20592 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
20593 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
20594 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
20595 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20596 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20597 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20598 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20599 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20600 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20601 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20602 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20603 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
20604 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
20605 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
20606 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20607 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
20608 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
20609 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20610 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20611 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20612 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20613 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20614 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20615 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
20616 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
20617 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20618 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20619 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20620 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20621 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20622 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20623 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
20624 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20625 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20626 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20627 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20628 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20629 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20630 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
20631 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
20632 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
20633 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
20634 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20635 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
20636 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
20637 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
20638 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20639 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20640 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
20641 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20642 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20643 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
20644 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
20645 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
20646 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
20647 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20648 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
20649 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
20650 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
20651 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
20652 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
20653 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20654 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
20655 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
20656 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
20657 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
20658 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
20659 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
20660 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20661 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
20662 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
20663 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
20664 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
20665 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
20666 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
20667 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20668 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
20669 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
20670 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20671 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
20672 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
20673 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
20674 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
20675 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
20676 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
20677 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20678 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20679 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20680 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
20681 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20682 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20683 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20684 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
20685 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
20686 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
20687 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20688 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20689 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20690 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20691 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20692 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20693 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
20694 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20695 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20696 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
20697 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
20698 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
20699 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
20700 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
20701 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
20702 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20703 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
20704 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
20705 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
20706 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
20707 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
20708 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20709 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20710 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
20711 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
20712 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
20713 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
20714 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20715 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
20716 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20717 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20718 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
20719 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20720 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20721 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20722 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
20723 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
20724 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20725 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
20726 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
20727 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
20728 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
20729 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
20730 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
20731 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
20732 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
20733 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
20734 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20735 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
20736 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
20737 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
20738 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
20739 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
20740 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
20741 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
20742 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
20743 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
20744 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
20745 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20746 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
20747 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
20748 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
20749 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
20750 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
20751 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
20752 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
20753 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
20754 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
20755 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20756 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
20757 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
20758 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
20759 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
20760 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
20761 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
20762 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
20763 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
20764 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
20765 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
20766 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
20767 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
20768 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
20769 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20770 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
20771 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
20772 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20773 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
20774 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
20775 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
20776 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
20777 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
20778 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
20779 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20780 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
20781 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20782 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
20783 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
20784 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
20785 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
20786 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
20787 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
20788 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
20789 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20790 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
20791 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20792 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20793 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
20794 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
20795 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
20796 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
20797 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
20798 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
20799 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20800 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
20801 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20802 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20803 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
20804 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
20805 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
20806 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
20807 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
20808 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
20809 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
20810 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
20811 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
20812 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
20813 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20814 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
20815 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
20816 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
20817 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
20818 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20819 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
20820 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
20821 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
20822 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
20823 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
20824 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
20825 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
20826 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
20827 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
20828 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
20829 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
20830 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
20831 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
20832 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
20833 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
20834 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
20835 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
20836 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
20837 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
20838 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
20839 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
20840 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
20841 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
20842 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
20843 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20844 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
20845 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
20846 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
20847 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
20848 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
20849 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
20850 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
20851 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
20852 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
20853 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20854 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
20855 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
20856 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
20857 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
20858 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
20859 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
20860 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
20861 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
20862 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
20863 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20864 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
20865 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
20866 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
20867 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
20868 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
20869 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
20870 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
20871 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
20872 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
20873 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
20874 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
20875 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
20876 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
20877 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
20878 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
20879 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
20880 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
20881 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
20882 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20883 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
20884 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
20885 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
20886 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
20887 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
20888 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
20889 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
20890 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
20891 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
20892 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
20893 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
20894 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
20895 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
20896 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20897 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20898 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
20899 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
20900 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
20901 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
20902 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
20903 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
20904 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
20905 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
20906 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
20907 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
20908 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
20909 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
20910 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
20911 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
20912 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
20913 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
20914 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
20915 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
20916 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
20917 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
20918 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
20919 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
20920 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
20921 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
20922 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
20923 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
20924 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
20925 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
20926 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
20927 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
20928 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
20929 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
20930 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
20931 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
20932 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
20933 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
20934 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
20935 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
20936 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
20937 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
20938 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
20939 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
20940 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
20941 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
20942 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
20943 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
20944 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
20945 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
20946 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
20947 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
20948 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
20949 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20950 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
20951 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
20952 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
20953 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
20954 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
20955 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
20956 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
20957 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
20958 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
20959 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
20960 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20962 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
20964 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
20966 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
20968 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
20970 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
20971 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20972 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
20973 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
20975 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
20976 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
20977 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
20978 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
20979 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
20981 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
20982 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
20983 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
20988 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
20990 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
20991 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
20993 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
20994 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
20996 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
20997 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
20999 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21000 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21002 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21003 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21005 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21006 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21008 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21009 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21011 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21012 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21014 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21015 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21017 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21020 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21021 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21023 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21024 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21026 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21027 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21029 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21030 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21032 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21033 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21035 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21036 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21038 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21039 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21041 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21042 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21044 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21045 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21047 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21048 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21050 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21051 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21053 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21054 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21056 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21057 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21059 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21060 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21062 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21063 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21065 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21066 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21068 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21069 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21071 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21072 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21074 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21075 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21077 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21078 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21080 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21081 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21083 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21084 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21086 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21089 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21090 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21092 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21093 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21095 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21096 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21098 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21099 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21101 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21102 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21104 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21105 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21107 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21108 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21110 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21111 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21113 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21114 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21116 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21117 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21119 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21122 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21125 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21128 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21129 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21131 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21132 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21134 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21135 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21137 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21138 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21140 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21143 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21146 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21149 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21152 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21155 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21158 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21161 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21162 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21164 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21165 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21167 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21170 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
21173 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21176 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21177 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21179 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21182 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21185 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21186 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21188 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21189 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21191 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21192 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21194 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21197 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21198 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21200 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21201 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21203 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21204 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21206 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21209 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21212 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21215 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21216 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21218 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21221 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21222 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21224 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21227 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21230 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21233 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21236 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21239 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21240 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21242 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21245 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21248 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21251 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21254 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21257 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21260 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21263 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21266 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21267 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21269 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21270 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21272 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21273 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21275 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
21276 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
21278 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21279 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21281 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21282 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21284 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21285 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21287 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21288 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21290 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21291 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21293 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21294 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21296 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21297 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21299 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21302 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21305 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21306 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21308 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21309 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21311 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21314 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21315 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21317 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21318 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21320 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21321 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21323 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21324 return (void *)((wxObject
*) ((wxSizer
*) x
));
21326 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21327 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21329 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21332 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21335 static void *_p_wxEventTo_p_wxObject(void *x
) {
21336 return (void *)((wxObject
*) ((wxEvent
*) x
));
21338 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21339 return (void *)((wxObject
*) ((wxFontData
*) x
));
21341 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21342 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21344 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21345 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21347 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21348 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21350 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21351 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21353 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21354 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21356 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21357 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21359 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21362 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21363 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21365 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21366 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21368 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21369 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21371 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21372 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21374 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21375 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21377 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21378 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21380 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21383 static void *_p_wxControlTo_p_wxObject(void *x
) {
21384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21386 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21387 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21389 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21392 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21393 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21395 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21396 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21398 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21399 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21401 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21404 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21405 return (void *)((wxObject
*) ((wxColourData
*) x
));
21407 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21408 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21410 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21413 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21416 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21419 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21422 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21425 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21428 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21431 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21434 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21437 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21440 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21441 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21443 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21444 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21446 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21447 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21449 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21450 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21452 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21455 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21456 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21458 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21459 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21461 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21462 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21464 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21465 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21467 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21468 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21470 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21471 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21473 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21476 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21479 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21482 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21485 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21488 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21491 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21492 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21494 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21495 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21497 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21498 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21500 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21503 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21504 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21506 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21509 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21510 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21512 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21513 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21515 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21518 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21521 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21522 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21524 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21527 static void *_p_wxImageTo_p_wxObject(void *x
) {
21528 return (void *)((wxObject
*) ((wxImage
*) x
));
21530 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21533 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21534 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21536 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21537 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21539 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21540 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21542 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21545 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21548 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21551 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21552 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21554 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21555 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21557 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21558 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21560 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21561 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21563 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21566 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21569 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21572 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21575 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21578 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21581 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21584 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21587 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21590 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
21593 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21596 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21599 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21602 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21603 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21605 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21606 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21608 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21611 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21614 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21617 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21620 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21623 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21626 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21629 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21630 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21632 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21633 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21635 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21636 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21638 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21639 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21641 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21642 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21644 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21645 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21647 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21648 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21650 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21653 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21654 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21656 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21659 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21662 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21663 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21665 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21666 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21668 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21671 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21674 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21675 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21677 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21678 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21680 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21683 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21684 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21686 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
21687 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21689 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
21690 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21692 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
21693 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21695 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
21696 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21698 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
21699 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
21701 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
21702 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
21704 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
21705 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
21707 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
21708 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
21710 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
21711 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
21713 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
21714 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
21716 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
21717 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
21719 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
21720 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
21722 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
21723 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
21725 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
21726 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
21728 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
21729 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
21731 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
21732 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
21734 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
21735 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
21737 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
21738 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
21740 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
21741 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
21743 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
21744 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21746 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
21747 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21749 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
21750 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
21752 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
21753 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
21755 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
21756 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
21758 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
21759 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21761 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
21762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21764 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
21765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21767 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
21768 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
21770 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21771 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21773 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
21774 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21776 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
21777 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21779 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
21780 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21782 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
21783 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21785 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
21786 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21788 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
21789 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21791 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
21792 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21794 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
21795 return (void *)((wxWindow
*) ((wxPanel
*) x
));
21797 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
21798 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
21800 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
21801 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
21803 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
21804 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21806 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
21807 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
21809 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
21810 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21812 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
21813 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
21815 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
21816 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21818 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
21819 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
21821 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
21822 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
21824 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
21825 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
21827 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
21828 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
21830 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
21831 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
21833 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21834 return (void *)((wxWindow
*) ((wxControl
*) x
));
21836 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
21837 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21839 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
21840 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21842 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
21843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21845 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21846 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21848 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
21849 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
21851 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
21852 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21854 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
21855 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21857 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
21858 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21860 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
21861 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
21863 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
21864 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21866 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
21867 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
21869 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
21870 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21872 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
21873 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21875 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
21876 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21878 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
21879 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
21881 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
21882 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21884 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
21885 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21887 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
21888 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21890 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
21891 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21893 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
21894 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21896 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
21897 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
21899 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
21900 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
21902 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
21903 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
21905 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
21906 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
21908 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
21909 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
21911 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
21912 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
21914 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
21915 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21917 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
21918 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21920 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
21921 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
21923 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
21924 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
21926 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
21927 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
21929 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
21930 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
21932 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
21933 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21935 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
21936 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21938 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
21939 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21941 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
21942 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
21944 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
21945 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21947 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
21948 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
21950 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
21951 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21953 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
21954 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21956 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
21957 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
21959 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
21960 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21962 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
21963 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21965 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
21966 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21968 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
21969 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21971 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
21972 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21974 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
21975 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21977 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
21978 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21980 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
21981 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21983 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
21984 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
21986 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
21987 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21989 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
21990 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
21991 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
21992 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
21993 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
21994 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
21995 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
21996 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}};
21997 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
21998 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
21999 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22000 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22001 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22002 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22003 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22004 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22005 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22006 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22007 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22008 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22009 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22010 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22011 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22012 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22013 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22014 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22015 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22016 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22017 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22018 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22019 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22020 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22021 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22022 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22023 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22024 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_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}};
22025 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22026 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22027 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22028 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22029 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22030 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_wxTipWindow", _p_wxTipWindowTo_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}};
22031 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22032 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22033 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22034 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22035 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22036 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22037 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
22038 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22039 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22040 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22041 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22042 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22043 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22044 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}};
22045 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{0}};
22046 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22047 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_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_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}};
22048 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_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}};
22049 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22050 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22051 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22052 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22053 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22054 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22055 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22056 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22057 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22058 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22059 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22060 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}};
22061 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}};
22062 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22063 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22064 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}};
22065 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22066 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22067 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22068 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22069 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22070 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22071 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22073 static swig_type_info
*swig_types_initial
[] = {
22074 _swigt__p_wxQueryLayoutInfoEvent
,
22075 _swigt__p_wxPreviewFrame
,
22076 _swigt__p_wxPyPreviewFrame
,
22077 _swigt__p_wxPyPanel
,
22079 _swigt__p_wxPrintData
,
22080 _swigt__p_wxFontData
,
22082 _swigt__p_wxTaskBarIcon
,
22083 _swigt__p_wxIconBundle
,
22084 _swigt__p_wxLayoutAlgorithm
,
22085 _swigt__p_wxFindDialogEvent
,
22086 _swigt__p_wxPreviewCanvas
,
22088 _swigt__p_wxSplitterEvent
,
22089 _swigt__p_wxRegion
,
22090 _swigt__p_wxFindReplaceData
,
22095 _swigt__p_wxMDIChildFrame
,
22096 _swigt__p_wxColourData
,
22097 _swigt__p_wxNotifyEvent
,
22098 _swigt__p_wxPyWindow
,
22099 _swigt__p_wxSplashScreen
,
22100 _swigt__p_wxFindReplaceDialog
,
22101 _swigt__p_wxProgressDialog
,
22102 _swigt__p_wxMessageDialog
,
22103 _swigt__p_wxTextEntryDialog
,
22104 _swigt__p_wxSingleChoiceDialog
,
22105 _swigt__p_wxMultiChoiceDialog
,
22106 _swigt__p_wxFileDialog
,
22107 _swigt__p_wxPrinter
,
22108 _swigt__p_wxArrayInt
,
22109 _swigt__p_wxEvtHandler
,
22110 _swigt__p_wxCalculateLayoutEvent
,
22111 _swigt__p_wxPyHtmlListBox
,
22112 _swigt__p_wxPyVListBox
,
22114 _swigt__p_wxMiniFrame
,
22116 _swigt__p_wxPyPrintout
,
22117 _swigt__p_wxTaskBarIconEvent
,
22118 _swigt__p_wxScrollWinEvent
,
22119 _swigt__p_wxStatusBar
,
22120 _swigt__p_wxMDIParentFrame
,
22122 _swigt__p_wxObject
,
22123 _swigt__p_unsigned_long
,
22124 _swigt__p_wxMDIClientWindow
,
22125 _swigt__p_wxTipWindow
,
22126 _swigt__p_wxPyPopupTransientWindow
,
22127 _swigt__p_wxSashLayoutWindow
,
22128 _swigt__p_wxSplitterWindow
,
22129 _swigt__p_wxPyVScrolledWindow
,
22130 _swigt__p_wxPopupWindow
,
22131 _swigt__p_wxSashWindow
,
22132 _swigt__p_wxTopLevelWindow
,
22133 _swigt__p_wxWindow
,
22134 _swigt__p_wxScrolledWindow
,
22135 _swigt__p_wxSplashScreenWindow
,
22136 _swigt__p_wxMenuBar
,
22137 _swigt__p_wxPrintPreview
,
22138 _swigt__p_wxSashEvent
,
22139 _swigt__p_wxString
,
22140 _swigt__p_wxPyPrintPreview
,
22141 _swigt__p_wxPageSetupDialog
,
22142 _swigt__p_wxFontDialog
,
22143 _swigt__p_wxDirDialog
,
22144 _swigt__p_wxColourDialog
,
22145 _swigt__p_wxDialog
,
22147 _swigt__p_wxPrintDialog
,
22148 _swigt__p_wxBitmap
,
22149 _swigt__p_wxCommandEvent
,
22150 _swigt__p_wxPrintQuality
,
22151 _swigt__p_wxPreviewControlBar
,
22152 _swigt__p_wxPyPreviewControlBar
,
22153 _swigt__p_wxColour
,
22154 _swigt__p_wxToolBar
,
22155 _swigt__p_wxPageSetupDialogData
,
22156 _swigt__p_wxPrintDialogData
,
22161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22163 static swig_const_info swig_const_table
[] = {
22164 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22165 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22166 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22167 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22168 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22169 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22170 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22171 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22172 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22173 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22174 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22175 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22176 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22177 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22178 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22179 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22180 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22181 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22182 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22183 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22184 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22185 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22186 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22187 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22188 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22189 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22190 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22191 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22192 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22193 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22194 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22195 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22196 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22197 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22198 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22199 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22200 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22201 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22202 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22203 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22204 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22205 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22206 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22207 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22208 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22209 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22210 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22211 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22212 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22213 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22214 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22215 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22216 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22217 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22218 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22219 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22220 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22221 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22222 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22223 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22224 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22225 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22226 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22227 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22228 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22229 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22230 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22231 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22232 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22233 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22234 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22235 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22236 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22237 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22238 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22239 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22240 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22241 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22242 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22243 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22244 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22245 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22246 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22247 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22248 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22249 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22250 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22251 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22252 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22253 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22254 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22255 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22256 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22257 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22258 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22259 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22260 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22261 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22262 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22263 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22264 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22265 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22266 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22267 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22268 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22269 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22270 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22271 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22272 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22282 SWIGEXPORT(void) SWIG_init(void) {
22283 static PyObject
*SWIG_globals
= 0;
22284 static int typeinit
= 0;
22287 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22288 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22289 d
= PyModule_GetDict(m
);
22292 for (i
= 0; swig_types_initial
[i
]; i
++) {
22293 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22297 SWIG_InstallConstants(d
,swig_const_table
);
22299 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22300 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22301 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22302 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22303 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22304 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22305 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22307 // Map renamed classes back to their common name for OOR
22308 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22309 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22310 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22312 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22313 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22314 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22315 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22316 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22317 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22318 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22319 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22320 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22321 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22322 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22323 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22325 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");