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_wxAcceleratorEntry swig_types[3]
222 #define SWIGTYPE_p_wxPyPanel swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxPrintData swig_types[6]
225 #define SWIGTYPE_p_wxFontData swig_types[7]
226 #define SWIGTYPE_p_wxEvent swig_types[8]
227 #define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
228 #define SWIGTYPE_p_wxIconBundle swig_types[10]
229 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
230 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
231 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
232 #define SWIGTYPE_p_wxFont swig_types[14]
233 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
234 #define SWIGTYPE_p_wxRegion swig_types[16]
235 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
236 #define SWIGTYPE_p_int swig_types[18]
237 #define SWIGTYPE_p_wxSize swig_types[19]
238 #define SWIGTYPE_p_wxDC swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
241 #define SWIGTYPE_p_wxColourData swig_types[23]
242 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
243 #define SWIGTYPE_p_wxPyWindow swig_types[25]
244 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
245 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
246 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
247 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
248 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
249 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
250 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
251 #define SWIGTYPE_p_wxFileDialog swig_types[33]
252 #define SWIGTYPE_p_wxPrinter swig_types[34]
253 #define SWIGTYPE_p_wxMenuItem swig_types[35]
254 #define SWIGTYPE_p_wxArrayInt swig_types[36]
255 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
256 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
257 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
258 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
259 #define SWIGTYPE_p_wxRect swig_types[41]
260 #define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
261 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
262 #define SWIGTYPE_p_wxFrame swig_types[44]
263 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
264 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
265 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
266 #define SWIGTYPE_p_wxStatusBar swig_types[48]
267 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
268 #define SWIGTYPE_p_wxPoint swig_types[50]
269 #define SWIGTYPE_p_wxObject swig_types[51]
270 #define SWIGTYPE_p_unsigned_long swig_types[52]
271 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
272 #define SWIGTYPE_p_wxTipWindow swig_types[54]
273 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
274 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
275 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
276 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
277 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
278 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
279 #define SWIGTYPE_p_wxSashWindow swig_types[61]
280 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
281 #define SWIGTYPE_p_wxWindow swig_types[63]
282 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
283 #define SWIGTYPE_p_wxMenuBar swig_types[65]
284 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
285 #define SWIGTYPE_p_wxSashEvent swig_types[67]
286 #define SWIGTYPE_p_wxString swig_types[68]
287 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
288 #define SWIGTYPE_p_wxFontDialog swig_types[70]
289 #define SWIGTYPE_p_wxDirDialog swig_types[71]
290 #define SWIGTYPE_p_wxColourDialog swig_types[72]
291 #define SWIGTYPE_p_wxDialog swig_types[73]
292 #define SWIGTYPE_p_wxPanel swig_types[74]
293 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
294 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
295 #define SWIGTYPE_p_wxBitmap swig_types[77]
296 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
297 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
298 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
299 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
300 #define SWIGTYPE_p_wxColour swig_types[82]
301 #define SWIGTYPE_p_wxToolBar swig_types[83]
302 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
303 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
304 static swig_type_info
*swig_types
[87];
306 /* -------- TYPES TABLE (END) -------- */
309 /*-----------------------------------------------
310 @(target):= _windows.so
311 ------------------------------------------------*/
312 #define SWIG_init init_windows
314 #define SWIG_name "_windows"
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
319 DECLARE_DEF_STRING(PanelNameStr
);
320 DECLARE_DEF_STRING(EmptyString
);
326 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
332 } else if (target
== Py_None
) {
336 if (!PyTuple_Check(target
)) {
338 target
= PyTuple_New(1);
339 PyTuple_SetItem(target
, 0, o2
);
342 PyTuple_SetItem(o3
, 0, o
);
345 target
= PySequence_Concat(o2
, o3
);
353 // Put some wx default wxChar* values into wxStrings.
354 DECLARE_DEF_STRING(FrameNameStr
);
355 DECLARE_DEF_STRING(DialogNameStr
);
356 DECLARE_DEF_STRING(StatusLineNameStr
);
357 DECLARE_DEF_STRING(ToolBarNameStr
);
359 bool wxDialog_IsModalShowing(wxDialog
*self
){
363 return self
->IsModalShowing();
369 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
370 DECLARE_DEF_STRING(SplitterNameStr
);
373 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
374 DECLARE_DEF_STRING(SashNameStr
);
375 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
376 DECLARE_DEF_STRING(SashLayoutNameStr
);
379 #include <wx/popupwin.h>
382 class wxPopupWindow
: public wxWindow
{
384 wxPopupWindow(wxWindow
*, int) { PyErr_SetNone(PyExc_NotImplementedError
); }
385 wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError
); }
388 class wxPyPopupTransientWindow
: public wxPopupWindow
391 wxPyPopupTransientWindow(wxWindow
*, int) { PyErr_SetNone(PyExc_NotImplementedError
); }
392 wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError
); }
396 #include <wx/tipwin.h>
398 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const *text
,int maxLength
,wxRect
*rectBound
){
399 wxString tmp
= *text
;
400 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
403 #include <wx/tipwin.h>
406 #include <wx/vscroll.h>
409 class wxPyVScrolledWindow
: public wxVScrolledWindow
411 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
413 wxPyVScrolledWindow() : wxVScrolledWindow() {}
415 wxPyVScrolledWindow(wxWindow
*parent
,
416 wxWindowID id
= wxID_ANY
,
417 const wxPoint
& pos
= wxDefaultPosition
,
418 const wxSize
& size
= wxDefaultSize
,
420 const wxString
& name
= wxPyPanelNameStr
)
421 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
424 // Overridable virtuals
426 // this function must be overridden in the derived class and it should
427 // return the height of the given line in pixels
428 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
431 // this function doesn't have to be overridden but it may be useful to do
432 // it if calculating the lines heights is a relatively expensive operation
433 // as it gives the user code a possibility to calculate several of them at
436 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
437 // shouldn't rely on the latter being called for all lines in the interval
438 // specified here. It is also possible that OnGetLineHeight() will be
439 // called for the lines outside of this interval, so this is really just a
440 // hint, not a promise.
442 // finally note that lineMin is inclusive, while lineMax is exclusive, as
444 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
447 // when the number of lines changes, we try to estimate the total height
448 // of all lines which is a rather expensive operation in terms of lines
449 // access, so if the user code may estimate the average height
450 // better/faster than we do, it should override this function to implement
453 // this function should return the best guess for the total height it may
455 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
458 // Also expose some other interesting protected methods
461 // find the index of the line we need to show at the top of the window such
462 // that the last (fully or partially) visible line is the given one
463 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
464 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
466 // get the total height of the lines between lineMin (inclusive) and
467 // lineMax (exclusive)
468 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
469 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
475 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
477 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
478 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
479 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
482 #include <wx/vlbox.h>
483 DECLARE_DEF_STRING(VListBoxNameStr
);
486 class wxPyVListBox
: public wxVListBox
488 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
490 wxPyVListBox() : wxVListBox() {}
492 wxPyVListBox(wxWindow
*parent
,
493 wxWindowID id
= wxID_ANY
,
494 const wxPoint
& pos
= wxDefaultPosition
,
495 const wxSize
& size
= wxDefaultSize
,
497 const wxString
& name
= wxPyVListBoxNameStr
)
498 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
501 // Overridable virtuals
503 // the derived class must implement this function to actually draw the item
504 // with the given index on the provided DC
505 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
506 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
509 // the derived class must implement this method to return the height of the
511 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
512 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
515 // this method may be used to draw separators between the lines; note that
516 // the rectangle may be modified, typically to deflate it a bit before
517 // passing to OnDrawItem()
519 // the base class version doesn't do anything
520 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
521 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
524 // this method is used to draw the items background and, maybe, a border
527 // the base class version implements a reasonable default behaviour which
528 // consists in drawing the selected item with the standard background
529 // colour and drawing a border around the item if it is either selected or
531 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
532 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
538 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
540 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
541 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
542 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
543 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
547 #include <wx/htmllbox.h>
550 class wxPyHtmlListBox
: public wxHtmlListBox
552 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
554 wxPyHtmlListBox() : wxHtmlListBox() {}
556 wxPyHtmlListBox(wxWindow
*parent
,
557 wxWindowID id
= wxID_ANY
,
558 const wxPoint
& pos
= wxDefaultPosition
,
559 const wxSize
& size
= wxDefaultSize
,
561 const wxString
& name
= wxPyVListBoxNameStr
)
562 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
565 // Overridable virtuals
567 // this method must be implemented in the derived class and should return
568 // the body (i.e. without <html>) of the HTML for the given item
569 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
571 // this function may be overridden to decorate HTML returned by OnGetItem()
572 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
575 // // this method allows to customize the selection appearance: it may be used
576 // // to specify the colour of the text which normally has the given colour
577 // // colFg when it is inside the selection
579 // // by default, the original colour is not used at all and all text has the
580 // // same (default for this system) colour inside selection
581 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
583 // // this is the same as GetSelectedTextColour() but allows to customize the
584 // // background colour -- this is even more rarely used as you can change it
585 // // globally using SetSelectionBackground()
586 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
593 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
595 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
596 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
603 // implement dummy classes and such for wxMac
605 class wxTaskBarIcon
: public wxEvtHandler
608 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError
); }
612 class wxTaskBarIconEvent
: public wxEvent
615 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
616 { PyErr_SetNone(PyExc_NotImplementedError
); }
617 virtual wxEvent
* Clone() const { return NULL
; }
621 wxEVT_TASKBAR_MOVE
= 0,
622 wxEVT_TASKBAR_LEFT_DOWN
= 0,
623 wxEVT_TASKBAR_LEFT_UP
= 0,
624 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
625 wxEVT_TASKBAR_RIGHT_UP
= 0,
626 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
627 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
633 DECLARE_DEF_STRING(FileSelectorPromptStr
);
634 DECLARE_DEF_STRING(DirSelectorPromptStr
);
635 DECLARE_DEF_STRING(DirDialogNameStr
);
636 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
637 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
638 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
641 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
643 self
->GetFilenames(arr
);
644 return wxArrayString2PyList_helper(arr
);
646 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
649 return wxArrayString2PyList_helper(arr
);
651 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
652 return wxArrayInt2PyList_helper(self
->GetSelections());
654 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
655 return new wxSingleChoiceDialog(parent
, message
, caption
,
656 choices
, choices_array
, NULL
, style
, pos
);
661 // C++ version of Python aware wxWindow
662 class wxPyWindow
: public wxWindow
664 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
666 wxPyWindow() : wxWindow() {}
667 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
668 const wxPoint
& pos
= wxDefaultPosition
,
669 const wxSize
& size
= wxDefaultSize
,
671 const wxString
& name
= wxPyPanelNameStr
)
672 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
675 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
676 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
677 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
678 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
680 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
682 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
684 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
685 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
687 DEC_PYCALLBACK__(InitDialog
);
688 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
689 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
690 DEC_PYCALLBACK_BOOL_(Validate
);
692 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
693 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
694 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
696 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
697 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
702 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
704 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
705 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
706 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
707 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
709 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
710 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
711 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
713 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
714 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
716 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
717 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
718 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
719 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
721 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
722 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
723 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
725 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
726 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
729 // C++ version of Python aware wxPanel
730 class wxPyPanel
: public wxPanel
732 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
734 wxPyPanel() : wxPanel() {}
735 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
736 const wxPoint
& pos
= wxDefaultPosition
,
737 const wxSize
& size
= wxDefaultSize
,
739 const wxString
& name
= wxPyPanelNameStr
)
740 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
743 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
744 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
752 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
753 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
755 DEC_PYCALLBACK__(InitDialog
);
756 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
757 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
758 DEC_PYCALLBACK_BOOL_(Validate
);
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
762 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
764 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
765 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
770 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
772 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
773 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
774 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
777 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
781 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
782 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
784 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
785 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
786 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
787 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
789 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
790 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
791 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
793 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
798 #include "wx/wxPython/printfw.h"
800 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
801 DECLARE_DEF_STRING(PrintoutTitleStr
);
802 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
803 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
809 // Since this one would be tough and ugly to do with the Macros...
810 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
814 wxPyBeginBlockThreads();
815 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
816 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
817 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
820 val
= PyTuple_GetItem(result
, 0);
821 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
824 val
= PyTuple_GetItem(result
, 1);
825 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
828 val
= PyTuple_GetItem(result
, 2);
829 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
832 val
= PyTuple_GetItem(result
, 3);
833 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
840 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
845 wxPyEndBlockThreads();
847 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
850 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
851 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
855 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
856 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
857 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
858 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
859 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
860 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
861 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
867 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
868 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
869 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
872 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
873 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
876 wxPyBeginBlockThreads(); \
877 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
878 PyObject* win = wxPyMake_wxObject(a); \
879 PyObject* dc = wxPyMake_wxObject(&b); \
880 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
884 wxPyEndBlockThreads(); \
886 rval = PCLASS::CBNAME(a, b); \
889 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
890 return PCLASS::CBNAME(a, b); \
896 class wxPyPrintPreview
: public wxPrintPreview
898 DECLARE_CLASS(wxPyPrintPreview
)
900 wxPyPrintPreview(wxPyPrintout
* printout
,
901 wxPyPrintout
* printoutForPrinting
,
902 wxPrintData
* data
=NULL
)
903 : wxPrintPreview(printout
, printoutForPrinting
, data
)
906 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
907 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
908 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
909 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
910 DEC_PYCALLBACK_VOID_INT(SetZoom
);
911 DEC_PYCALLBACK_BOOL_BOOL(Print
);
912 DEC_PYCALLBACK_VOID_(DetermineScaling
);
917 // Stupid renamed classes... Fix this in 2.5...
918 #if defined(__WXMSW__)
919 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
920 #elif defined(__WXMAC__)
921 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
923 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
926 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
927 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
928 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
929 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
930 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
931 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
932 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
935 class wxPyPreviewFrame
: public wxPreviewFrame
937 DECLARE_CLASS(wxPyPreviewFrame
);
939 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
940 const wxString
& title
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
943 long style
= wxDEFAULT_FRAME_STYLE
,
944 const wxString
& name
= wxPyFrameNameStr
)
945 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
948 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
949 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
951 DEC_PYCALLBACK_VOID_(Initialize
);
952 DEC_PYCALLBACK_VOID_(CreateCanvas
);
953 DEC_PYCALLBACK_VOID_(CreateControlBar
);
958 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
960 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
961 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
962 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
965 class wxPyPreviewControlBar
: public wxPreviewControlBar
967 DECLARE_CLASS(wxPyPreviewControlBar
);
969 wxPyPreviewControlBar(wxPrintPreview
*preview
,
972 const wxPoint
& pos
= wxDefaultPosition
,
973 const wxSize
& size
= wxDefaultSize
,
975 const wxString
& name
= wxPyPanelNameStr
)
976 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
979 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
981 DEC_PYCALLBACK_VOID_(CreateButtons
);
982 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
987 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
988 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
989 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
994 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 wxWindow
*arg1
= (wxWindow
*) 0 ;
997 int arg2
= (int) (int)-1 ;
998 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
999 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1000 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1001 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1002 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1003 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1004 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1008 bool temp6
= False
;
1009 PyObject
* obj0
= 0 ;
1010 PyObject
* obj2
= 0 ;
1011 PyObject
* obj3
= 0 ;
1012 PyObject
* obj5
= 0 ;
1014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1028 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1033 arg6
= wxString_in_helper(obj5
);
1034 if (arg6
== NULL
) SWIG_fail
;
1039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1040 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1042 wxPyEndAllowThreads(__tstate
);
1043 if (PyErr_Occurred()) SWIG_fail
;
1045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1060 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
*resultobj
;
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 result
= (wxPanel
*)new wxPanel();
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) SWIG_fail
;
1075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1082 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 wxPanel
*arg1
= (wxPanel
*) 0 ;
1085 wxWindow
*arg2
= (wxWindow
*) 0 ;
1087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1091 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1092 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1097 bool temp7
= False
;
1098 PyObject
* obj0
= 0 ;
1099 PyObject
* obj1
= 0 ;
1100 PyObject
* obj3
= 0 ;
1101 PyObject
* obj4
= 0 ;
1102 PyObject
* obj6
= 0 ;
1104 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1124 arg7
= wxString_in_helper(obj6
);
1125 if (arg7
== NULL
) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) SWIG_fail
;
1136 resultobj
= PyInt_FromLong((long)result
);
1151 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxPanel
*arg1
= (wxPanel
*) 0 ;
1154 PyObject
* obj0
= 0 ;
1156 (char *) "self", NULL
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 (arg1
)->InitDialog();
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) SWIG_fail
;
1168 Py_INCREF(Py_None
); resultobj
= Py_None
;
1175 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1178 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1180 return Py_BuildValue((char *)"");
1182 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
*resultobj
;
1184 wxWindow
*arg1
= (wxWindow
*) 0 ;
1185 int arg2
= (int) (int)-1 ;
1186 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1187 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1188 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1189 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1190 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1191 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1192 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1193 wxScrolledWindow
*result
;
1196 bool temp6
= False
;
1197 PyObject
* obj0
= 0 ;
1198 PyObject
* obj2
= 0 ;
1199 PyObject
* obj3
= 0 ;
1200 PyObject
* obj5
= 0 ;
1202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1221 arg6
= wxString_in_helper(obj5
);
1222 if (arg6
== NULL
) SWIG_fail
;
1227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1228 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) SWIG_fail
;
1233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1248 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
*resultobj
;
1250 wxScrolledWindow
*result
;
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) SWIG_fail
;
1263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1270 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1273 wxWindow
*arg2
= (wxWindow
*) 0 ;
1274 int arg3
= (int) (int)-1 ;
1275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1279 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1280 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1281 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1285 bool temp7
= False
;
1286 PyObject
* obj0
= 0 ;
1287 PyObject
* obj1
= 0 ;
1288 PyObject
* obj3
= 0 ;
1289 PyObject
* obj4
= 0 ;
1290 PyObject
* obj6
= 0 ;
1292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1312 arg7
= wxString_in_helper(obj6
);
1313 if (arg7
== NULL
) SWIG_fail
;
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 resultobj
= PyInt_FromLong((long)result
);
1339 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1346 int arg6
= (int) 0 ;
1347 int arg7
= (int) 0 ;
1348 bool arg8
= (bool) False
;
1349 PyObject
* obj0
= 0 ;
1350 PyObject
* obj7
= 0 ;
1352 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1358 arg8
= PyInt_AsLong(obj7
) ? true : false;
1359 if (PyErr_Occurred()) SWIG_fail
;
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1363 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1368 Py_INCREF(Py_None
); resultobj
= Py_None
;
1375 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1377 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1380 PyObject
* obj0
= 0 ;
1382 (char *) "self",(char *) "x",(char *) "y", NULL
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 (arg1
)->Scroll(arg2
,arg3
);
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1394 Py_INCREF(Py_None
); resultobj
= Py_None
;
1401 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
*resultobj
;
1403 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1406 PyObject
* obj0
= 0 ;
1408 (char *) "self",(char *) "orient", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1417 wxPyEndAllowThreads(__tstate
);
1418 if (PyErr_Occurred()) SWIG_fail
;
1420 resultobj
= PyInt_FromLong((long)result
);
1427 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1432 PyObject
* obj0
= 0 ;
1434 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 Py_INCREF(Py_None
); resultobj
= Py_None
;
1453 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 (arg1
)->SetScrollRate(arg2
,arg3
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 Py_INCREF(Py_None
); resultobj
= Py_None
;
1479 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1482 int *arg2
= (int *) 0 ;
1483 int *arg3
= (int *) 0 ;
1486 PyObject
* obj0
= 0 ;
1488 (char *) "self", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1502 Py_INCREF(Py_None
); resultobj
= Py_None
;
1504 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1505 resultobj
= t_output_helper(resultobj
,o
);
1508 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1509 resultobj
= t_output_helper(resultobj
,o
);
1517 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
*resultobj
;
1519 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1522 PyObject
* obj0
= 0 ;
1523 PyObject
* obj1
= 0 ;
1524 PyObject
* obj2
= 0 ;
1526 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1531 arg2
= PyInt_AsLong(obj1
) ? true : false;
1532 if (PyErr_Occurred()) SWIG_fail
;
1533 arg3
= PyInt_AsLong(obj2
) ? true : false;
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 (arg1
)->EnableScrolling(arg2
,arg3
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 Py_INCREF(Py_None
); resultobj
= Py_None
;
1549 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1552 int *arg2
= (int *) 0 ;
1553 int *arg3
= (int *) 0 ;
1556 PyObject
* obj0
= 0 ;
1558 (char *) "self", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1572 Py_INCREF(Py_None
); resultobj
= Py_None
;
1574 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1575 resultobj
= t_output_helper(resultobj
,o
);
1578 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1579 resultobj
= t_output_helper(resultobj
,o
);
1587 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1592 PyObject
* obj0
= 0 ;
1594 (char *) "self",(char *) "xs",(char *) "ys", NULL
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 (arg1
)->SetScale(arg2
,arg3
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1606 Py_INCREF(Py_None
); resultobj
= Py_None
;
1613 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1617 PyObject
* obj0
= 0 ;
1619 (char *) "self", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 resultobj
= PyFloat_FromDouble(result
);
1638 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1656 resultobj
= PyFloat_FromDouble(result
);
1663 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1664 PyObject
*resultobj
;
1665 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1668 int *arg4
= (int *) 0 ;
1669 int *arg5
= (int *) 0 ;
1672 PyObject
* obj0
= 0 ;
1676 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1685 Py_INCREF(Py_None
); resultobj
= Py_None
;
1687 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1688 resultobj
= t_output_helper(resultobj
,o
);
1691 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1692 resultobj
= t_output_helper(resultobj
,o
);
1700 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1701 PyObject
*resultobj
;
1702 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1706 PyObject
* obj0
= 0 ;
1707 PyObject
* obj1
= 0 ;
1709 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1713 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1717 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1723 wxPoint
* resultptr
;
1724 resultptr
= new wxPoint((wxPoint
&) result
);
1725 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1733 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1738 argc
= PyObject_Length(args
);
1739 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1740 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1746 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1755 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1758 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1766 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1775 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1779 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1782 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1788 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1793 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1794 PyObject
*resultobj
;
1795 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1798 int *arg4
= (int *) 0 ;
1799 int *arg5
= (int *) 0 ;
1802 PyObject
* obj0
= 0 ;
1806 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 Py_INCREF(Py_None
); resultobj
= Py_None
;
1817 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1818 resultobj
= t_output_helper(resultobj
,o
);
1821 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1822 resultobj
= t_output_helper(resultobj
,o
);
1830 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1831 PyObject
*resultobj
;
1832 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1839 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) SWIG_fail
;
1853 wxPoint
* resultptr
;
1854 resultptr
= new wxPoint((wxPoint
&) result
);
1855 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1863 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1868 argc
= PyObject_Length(args
);
1869 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1870 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1876 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1885 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1888 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1896 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1905 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1909 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1912 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1918 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1923 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1925 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1928 (char *) "self", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 (arg1
)->AdjustScrollbars();
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 Py_INCREF(Py_None
); resultobj
= Py_None
;
1947 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
*resultobj
;
1949 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1950 wxScrollWinEvent
*arg2
= 0 ;
1952 PyObject
* obj0
= 0 ;
1953 PyObject
* obj1
= 0 ;
1955 (char *) "self",(char *) "event", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 resultobj
= PyInt_FromLong((long)result
);
1978 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1981 wxWindow
*arg2
= (wxWindow
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1985 (char *) "self",(char *) "target", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 (arg1
)->SetTargetWindow(arg2
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 Py_INCREF(Py_None
); resultobj
= Py_None
;
2005 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2007 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2009 PyObject
* obj0
= 0 ;
2011 (char *) "self", NULL
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2024 resultobj
= wxPyMake_wxObject(result
);
2032 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2038 PyObject
* obj1
= 0 ;
2040 (char *) "self",(char *) "rect", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2047 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2069 (char *) "self", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2083 resultptr
= new wxRect((wxRect
&) result
);
2084 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2092 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2095 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2097 return Py_BuildValue((char *)"");
2099 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 int arg1
= (int) 0 ;
2102 int arg2
= (int) 0 ;
2103 int arg3
= (int) 0 ;
2104 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
2105 wxAcceleratorEntry
*result
;
2106 PyObject
* obj3
= 0 ;
2108 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
2113 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
2129 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2132 PyObject
* obj0
= 0 ;
2134 (char *) "self", NULL
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
2138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2146 Py_INCREF(Py_None
); resultobj
= Py_None
;
2153 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2159 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
2160 PyObject
* obj0
= 0 ;
2161 PyObject
* obj4
= 0 ;
2163 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2169 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2178 Py_INCREF(Py_None
); resultobj
= Py_None
;
2185 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
*resultobj
;
2187 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2188 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
2189 PyObject
* obj0
= 0 ;
2190 PyObject
* obj1
= 0 ;
2192 (char *) "self",(char *) "item", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 (arg1
)->SetMenuItem(arg2
);
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 Py_INCREF(Py_None
); resultobj
= Py_None
;
2212 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2231 resultobj
= wxPyMake_wxObject(result
);
2239 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2243 PyObject
* obj0
= 0 ;
2245 (char *) "self", NULL
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
2249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 result
= (int)(arg1
)->GetFlags();
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= PyInt_FromLong((long)result
);
2264 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2268 PyObject
* obj0
= 0 ;
2270 (char *) "self", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
2274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 result
= (int)(arg1
)->GetKeyCode();
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= PyInt_FromLong((long)result
);
2289 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2295 (char *) "self", NULL
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
2299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (int)(arg1
)->GetCommand();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2307 resultobj
= PyInt_FromLong((long)result
);
2314 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
2316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2317 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
2319 return Py_BuildValue((char *)"");
2321 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2324 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
2325 wxAcceleratorTable
*result
;
2326 PyObject
* obj0
= 0 ;
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2333 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
2334 if (arg2
) arg1
= PyList_Size(obj0
);
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
2357 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2360 PyObject
* obj0
= 0 ;
2362 (char *) "self", NULL
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 Py_INCREF(Py_None
); resultobj
= Py_None
;
2381 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2387 (char *) "self", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2399 resultobj
= PyInt_FromLong((long)result
);
2406 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
2408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2409 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
2411 return Py_BuildValue((char *)"");
2413 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
2414 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
2419 static PyObject
*_wrap_NullAcceleratorTable_get() {
2422 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
2427 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxString
*arg1
= 0 ;
2430 wxAcceleratorEntry
*result
;
2431 bool temp1
= False
;
2432 PyObject
* obj0
= 0 ;
2434 (char *) "label", NULL
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
2439 arg1
= wxString_in_helper(obj0
);
2440 if (arg1
== NULL
) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
2465 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2467 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2468 bool arg2
= (bool) True
;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2472 (char *) "self",(char *) "maximize", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2478 arg2
= PyInt_AsLong(obj1
) ? true : false;
2479 if (PyErr_Occurred()) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 (arg1
)->Maximize(arg2
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 Py_INCREF(Py_None
); resultobj
= Py_None
;
2495 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2498 PyObject
* obj0
= 0 ;
2500 (char *) "self", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2512 Py_INCREF(Py_None
); resultobj
= Py_None
;
2519 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2522 bool arg2
= (bool) True
;
2523 PyObject
* obj0
= 0 ;
2524 PyObject
* obj1
= 0 ;
2526 (char *) "self",(char *) "iconize", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2532 arg2
= PyInt_AsLong(obj1
) ? true : false;
2533 if (PyErr_Occurred()) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 (arg1
)->Iconize(arg2
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 Py_INCREF(Py_None
); resultobj
= Py_None
;
2549 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2553 PyObject
* obj0
= 0 ;
2555 (char *) "self", NULL
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2567 resultobj
= PyInt_FromLong((long)result
);
2574 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2576 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2578 PyObject
* obj0
= 0 ;
2580 (char *) "self", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= PyInt_FromLong((long)result
);
2599 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2603 PyObject
* obj0
= 0 ;
2605 (char *) "self", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2619 resultptr
= new wxIcon((wxIcon
&) result
);
2620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2628 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2630 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2632 PyObject
* obj0
= 0 ;
2633 PyObject
* obj1
= 0 ;
2635 (char *) "self",(char *) "icon", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2651 Py_INCREF(Py_None
); resultobj
= Py_None
;
2658 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
*resultobj
;
2660 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2661 wxIconBundle
*arg2
= 0 ;
2662 PyObject
* obj0
= 0 ;
2663 PyObject
* obj1
= 0 ;
2665 (char *) "self",(char *) "icons", NULL
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2681 Py_INCREF(Py_None
); resultobj
= Py_None
;
2688 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
*resultobj
;
2690 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2692 long arg3
= (long) wxFULLSCREEN_ALL
;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2697 (char *) "self",(char *) "show",(char *) "style", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2702 arg2
= PyInt_AsLong(obj1
) ? true : false;
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2706 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) SWIG_fail
;
2711 resultobj
= PyInt_FromLong((long)result
);
2718 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2722 PyObject
* obj0
= 0 ;
2724 (char *) "self", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 resultobj
= PyInt_FromLong((long)result
);
2743 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2746 wxString
*arg2
= 0 ;
2747 bool temp2
= False
;
2748 PyObject
* obj0
= 0 ;
2749 PyObject
* obj1
= 0 ;
2751 (char *) "self",(char *) "title", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2757 arg2
= wxString_in_helper(obj1
);
2758 if (arg2
== NULL
) SWIG_fail
;
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 (arg1
)->SetTitle((wxString
const &)*arg2
);
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2768 Py_INCREF(Py_None
); resultobj
= Py_None
;
2783 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2814 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
*resultobj
;
2816 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2817 wxRegion
*arg2
= 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2822 (char *) "self",(char *) "region", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2829 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2838 resultobj
= PyInt_FromLong((long)result
);
2845 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2848 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2850 return Py_BuildValue((char *)"");
2852 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxWindow
*arg1
= (wxWindow
*) 0 ;
2856 wxString
*arg3
= 0 ;
2857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2861 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2862 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2865 bool temp3
= False
;
2868 bool temp7
= False
;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj2
= 0 ;
2871 PyObject
* obj3
= 0 ;
2872 PyObject
* obj4
= 0 ;
2873 PyObject
* obj6
= 0 ;
2875 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2881 arg3
= wxString_in_helper(obj2
);
2882 if (arg3
== NULL
) SWIG_fail
;
2888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2899 arg7
= wxString_in_helper(obj6
);
2900 if (arg7
== NULL
) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2912 resultobj
= wxPyMake_wxObject(result
);
2936 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 result
= (wxFrame
*)new wxFrame();
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= wxPyMake_wxObject(result
);
2960 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxFrame
*arg1
= (wxFrame
*) 0 ;
2963 wxWindow
*arg2
= (wxWindow
*) 0 ;
2965 wxString
*arg4
= 0 ;
2966 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2967 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2968 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2969 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2970 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2971 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2972 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2974 bool temp4
= False
;
2977 bool temp8
= False
;
2978 PyObject
* obj0
= 0 ;
2979 PyObject
* obj1
= 0 ;
2980 PyObject
* obj3
= 0 ;
2981 PyObject
* obj4
= 0 ;
2982 PyObject
* obj5
= 0 ;
2983 PyObject
* obj7
= 0 ;
2985 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2992 arg4
= wxString_in_helper(obj3
);
2993 if (arg4
== NULL
) SWIG_fail
;
2999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3005 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3010 arg8
= wxString_in_helper(obj7
);
3011 if (arg8
== NULL
) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 resultobj
= PyInt_FromLong((long)result
);
3045 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxFrame
*arg1
= (wxFrame
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3051 (char *) "self", NULL
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3064 wxPoint
* resultptr
;
3065 resultptr
= new wxPoint((wxPoint
&) result
);
3066 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3074 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxFrame
*arg1
= (wxFrame
*) 0 ;
3077 PyObject
* obj0
= 0 ;
3079 (char *) "self", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 (arg1
)->SendSizeEvent();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 Py_INCREF(Py_None
); resultobj
= Py_None
;
3098 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxFrame
*arg1
= (wxFrame
*) 0 ;
3101 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3105 (char *) "self",(char *) "menubar", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 (arg1
)->SetMenuBar(arg2
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 Py_INCREF(Py_None
); resultobj
= Py_None
;
3125 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxFrame
*arg1
= (wxFrame
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3131 (char *) "self", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= wxPyMake_wxObject(result
);
3152 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxFrame
*arg1
= (wxFrame
*) 0 ;
3157 PyObject
* obj0
= 0 ;
3159 (char *) "self",(char *) "winid", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
3163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3171 resultobj
= PyInt_FromLong((long)result
);
3178 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxFrame
*arg1
= (wxFrame
*) 0 ;
3181 int arg2
= (int) 1 ;
3182 long arg3
= (long) wxST_SIZEGRIP
;
3183 int arg4
= (int) 0 ;
3184 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3185 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3186 wxStatusBar
*result
;
3187 bool temp5
= False
;
3188 PyObject
* obj0
= 0 ;
3189 PyObject
* obj4
= 0 ;
3191 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 arg5
= wxString_in_helper(obj4
);
3199 if (arg5
== NULL
) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= wxPyMake_wxObject(result
);
3227 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxFrame
*arg1
= (wxFrame
*) 0 ;
3230 wxStatusBar
*result
;
3231 PyObject
* obj0
= 0 ;
3233 (char *) "self", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3246 resultobj
= wxPyMake_wxObject(result
);
3254 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxFrame
*arg1
= (wxFrame
*) 0 ;
3257 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "statBar", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 (arg1
)->SetStatusBar(arg2
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxFrame
*arg1
= (wxFrame
*) 0 ;
3284 wxString
*arg2
= 0 ;
3285 int arg3
= (int) 0 ;
3286 bool temp2
= False
;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3290 (char *) "self",(char *) "text",(char *) "number", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3296 arg2
= wxString_in_helper(obj1
);
3297 if (arg2
== NULL
) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 Py_INCREF(Py_None
); resultobj
= Py_None
;
3322 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxFrame
*arg1
= (wxFrame
*) 0 ;
3326 int *arg3
= (int *) 0 ;
3327 PyObject
* obj0
= 0 ;
3328 PyObject
* obj1
= 0 ;
3330 (char *) "self",(char *) "widths", NULL
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3336 arg2
= PyList_Size(obj1
);
3337 arg3
= int_LIST_helper(obj1
);
3338 if (arg3
== NULL
) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 if (arg3
) delete [] arg3
;
3354 if (arg3
) delete [] arg3
;
3360 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxFrame
*arg1
= (wxFrame
*) 0 ;
3363 wxString
*arg2
= 0 ;
3364 int arg3
= (int) 0 ;
3365 bool temp2
= False
;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "text",(char *) "number", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3375 arg2
= wxString_in_helper(obj1
);
3376 if (arg2
== NULL
) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3401 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxFrame
*arg1
= (wxFrame
*) 0 ;
3404 int arg2
= (int) 0 ;
3405 PyObject
* obj0
= 0 ;
3407 (char *) "self",(char *) "number", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 (arg1
)->PopStatusText(arg2
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 Py_INCREF(Py_None
); resultobj
= Py_None
;
3426 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxFrame
*arg1
= (wxFrame
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3432 (char *) "self",(char *) "n", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->SetStatusBarPane(arg2
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxFrame
*arg1
= (wxFrame
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= PyInt_FromLong((long)result
);
3476 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxFrame
*arg1
= (wxFrame
*) 0 ;
3479 long arg2
= (long) -1 ;
3480 int arg3
= (int) -1 ;
3481 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3482 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3484 bool temp4
= False
;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj3
= 0 ;
3488 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3495 arg4
= wxString_in_helper(obj3
);
3496 if (arg4
== NULL
) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= wxPyMake_wxObject(result
);
3524 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxFrame
*arg1
= (wxFrame
*) 0 ;
3528 PyObject
* obj0
= 0 ;
3530 (char *) "self", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= wxPyMake_wxObject(result
);
3551 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxFrame
*arg1
= (wxFrame
*) 0 ;
3554 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "toolbar", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 (arg1
)->SetToolBar(arg2
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 Py_INCREF(Py_None
); resultobj
= Py_None
;
3578 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxFrame
*arg1
= (wxFrame
*) 0 ;
3581 wxString
*arg2
= 0 ;
3583 bool temp2
= False
;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3586 PyObject
* obj2
= 0 ;
3588 (char *) "self",(char *) "text",(char *) "show", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3594 arg2
= wxString_in_helper(obj1
);
3595 if (arg2
== NULL
) SWIG_fail
;
3598 arg3
= PyInt_AsLong(obj2
) ? true : false;
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3622 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxFrame
*arg1
= (wxFrame
*) 0 ;
3625 wxMenu
*arg2
= (wxMenu
*) NULL
;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3629 (char *) "self",(char *) "menu", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->DoMenuUpdates(arg2
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3651 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3654 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3656 return Py_BuildValue((char *)"");
3658 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxWindow
*arg1
= (wxWindow
*) 0 ;
3662 wxString
*arg3
= 0 ;
3663 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3664 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3665 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3666 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3667 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3668 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3669 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3671 bool temp3
= False
;
3674 bool temp7
= False
;
3675 PyObject
* obj0
= 0 ;
3676 PyObject
* obj2
= 0 ;
3677 PyObject
* obj3
= 0 ;
3678 PyObject
* obj4
= 0 ;
3679 PyObject
* obj6
= 0 ;
3681 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3687 arg3
= wxString_in_helper(obj2
);
3688 if (arg3
== NULL
) SWIG_fail
;
3694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3705 arg7
= wxString_in_helper(obj6
);
3706 if (arg7
== NULL
) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3740 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (wxDialog
*)new wxDialog();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3762 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxDialog
*arg1
= (wxDialog
*) 0 ;
3765 wxWindow
*arg2
= (wxWindow
*) 0 ;
3767 wxString
*arg4
= 0 ;
3768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3772 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3773 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3774 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3776 bool temp4
= False
;
3779 bool temp8
= False
;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3782 PyObject
* obj3
= 0 ;
3783 PyObject
* obj4
= 0 ;
3784 PyObject
* obj5
= 0 ;
3785 PyObject
* obj7
= 0 ;
3787 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3794 arg4
= wxString_in_helper(obj3
);
3795 if (arg4
== NULL
) SWIG_fail
;
3801 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3807 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3812 arg8
= wxString_in_helper(obj7
);
3813 if (arg8
== NULL
) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= PyInt_FromLong((long)result
);
3847 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxDialog
*arg1
= (wxDialog
*) 0 ;
3851 PyObject
* obj0
= 0 ;
3853 (char *) "self",(char *) "returnCode", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 (arg1
)->SetReturnCode(arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 Py_INCREF(Py_None
); resultobj
= Py_None
;
3872 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxDialog
*arg1
= (wxDialog
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= PyInt_FromLong((long)result
);
3897 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxDialog
*arg1
= (wxDialog
*) 0 ;
3900 wxString
*arg2
= 0 ;
3902 bool temp2
= False
;
3903 PyObject
* obj0
= 0 ;
3904 PyObject
* obj1
= 0 ;
3906 (char *) "self",(char *) "message", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3912 arg2
= wxString_in_helper(obj1
);
3913 if (arg2
== NULL
) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3924 resultobj
= wxPyMake_wxSizer(result
);
3940 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxDialog
*arg1
= (wxDialog
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3947 (char *) "self",(char *) "flags", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= wxPyMake_wxSizer(result
);
3968 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxDialog
*arg1
= (wxDialog
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3975 (char *) "self",(char *) "flag", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3980 arg2
= PyInt_AsLong(obj1
) ? true : false;
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 (arg1
)->SetModal(arg2
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 Py_INCREF(Py_None
); resultobj
= Py_None
;
3996 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxDialog
*arg1
= (wxDialog
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4002 (char *) "self", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= PyInt_FromLong((long)result
);
4021 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxDialog
*arg1
= (wxDialog
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4027 (char *) "self", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (int)(arg1
)->ShowModal();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= PyInt_FromLong((long)result
);
4046 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxDialog
*arg1
= (wxDialog
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "self",(char *) "retCode", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
4056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 (arg1
)->EndModal(arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxDialog
*arg1
= (wxDialog
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (bool)wxDialog_IsModalShowing(arg1
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= PyInt_FromLong((long)result
);
4096 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4099 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4101 return Py_BuildValue((char *)"");
4103 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxWindow
*arg1
= (wxWindow
*) 0 ;
4107 wxString
*arg3
= 0 ;
4108 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4109 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4110 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4111 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4112 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4113 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4114 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4115 wxMiniFrame
*result
;
4116 bool temp3
= False
;
4119 bool temp7
= False
;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj2
= 0 ;
4122 PyObject
* obj3
= 0 ;
4123 PyObject
* obj4
= 0 ;
4124 PyObject
* obj6
= 0 ;
4126 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4132 arg3
= wxString_in_helper(obj2
);
4133 if (arg3
== NULL
) SWIG_fail
;
4139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4150 arg7
= wxString_in_helper(obj6
);
4151 if (arg7
== NULL
) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4185 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxMiniFrame
*result
;
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (wxMiniFrame
*)new wxMiniFrame();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4207 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4210 wxWindow
*arg2
= (wxWindow
*) 0 ;
4212 wxString
*arg4
= 0 ;
4213 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4214 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4215 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4216 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4217 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4218 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4219 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4221 bool temp4
= False
;
4224 bool temp8
= False
;
4225 PyObject
* obj0
= 0 ;
4226 PyObject
* obj1
= 0 ;
4227 PyObject
* obj3
= 0 ;
4228 PyObject
* obj4
= 0 ;
4229 PyObject
* obj5
= 0 ;
4230 PyObject
* obj7
= 0 ;
4232 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4239 arg4
= wxString_in_helper(obj3
);
4240 if (arg4
== NULL
) SWIG_fail
;
4246 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4252 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4257 arg8
= wxString_in_helper(obj7
);
4258 if (arg8
== NULL
) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= PyInt_FromLong((long)result
);
4292 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4295 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4297 return Py_BuildValue((char *)"");
4299 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 wxBitmap
*arg1
= 0 ;
4302 wxWindow
*arg2
= (wxWindow
*) 0 ;
4304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4308 long arg6
= (long) wxNO_BORDER
;
4309 wxSplashScreenWindow
*result
;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 PyObject
* obj3
= 0 ;
4315 PyObject
* obj4
= 0 ;
4317 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4329 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4335 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4352 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4355 wxBitmap
*arg2
= 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4359 (char *) "self",(char *) "bitmap", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 Py_INCREF(Py_None
); resultobj
= Py_None
;
4382 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4388 (char *) "self", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4397 result
= (wxBitmap
*) &_result_ref
;
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4410 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4413 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4415 return Py_BuildValue((char *)"");
4417 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxBitmap
*arg1
= 0 ;
4422 wxWindow
*arg4
= (wxWindow
*) 0 ;
4424 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4425 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4426 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4427 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4428 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4429 wxSplashScreen
*result
;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj3
= 0 ;
4434 PyObject
* obj5
= 0 ;
4435 PyObject
* obj6
= 0 ;
4437 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4445 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4449 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4455 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4472 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "self", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= PyInt_FromLong((long)result
);
4497 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4500 wxSplashScreenWindow
*result
;
4501 PyObject
* obj0
= 0 ;
4503 (char *) "self", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4522 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4528 (char *) "self", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= PyInt_FromLong((long)result
);
4547 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4550 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4552 return Py_BuildValue((char *)"");
4554 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxWindow
*arg1
= (wxWindow
*) 0 ;
4557 int arg2
= (int) -1 ;
4558 long arg3
= (long) wxST_SIZEGRIP
;
4559 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4560 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4561 wxStatusBar
*result
;
4562 bool temp4
= False
;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj3
= 0 ;
4566 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4573 arg4
= wxString_in_helper(obj3
);
4574 if (arg4
== NULL
) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= wxPyMake_wxObject(result
);
4602 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxStatusBar
*result
;
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 result
= (wxStatusBar
*)new wxStatusBar();
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= wxPyMake_wxObject(result
);
4626 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4629 wxWindow
*arg2
= (wxWindow
*) 0 ;
4631 long arg4
= (long) wxST_SIZEGRIP
;
4632 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4633 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4635 bool temp5
= False
;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 PyObject
* obj4
= 0 ;
4640 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4648 arg5
= wxString_in_helper(obj4
);
4649 if (arg5
== NULL
) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= PyInt_FromLong((long)result
);
4675 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4678 int arg2
= (int) 1 ;
4679 PyObject
* obj0
= 0 ;
4681 (char *) "self",(char *) "number", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 (arg1
)->SetFieldsCount(arg2
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 Py_INCREF(Py_None
); resultobj
= Py_None
;
4700 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4702 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4706 (char *) "self", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= PyInt_FromLong((long)result
);
4725 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4728 wxString
*arg2
= 0 ;
4729 int arg3
= (int) 0 ;
4730 bool temp2
= False
;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4734 (char *) "self",(char *) "text",(char *) "number", NULL
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4740 arg2
= wxString_in_helper(obj1
);
4741 if (arg2
== NULL
) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 Py_INCREF(Py_None
); resultobj
= Py_None
;
4766 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4768 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4769 int arg2
= (int) 0 ;
4771 PyObject
* obj0
= 0 ;
4773 (char *) "self",(char *) "number", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4798 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4801 wxString
*arg2
= 0 ;
4802 int arg3
= (int) 0 ;
4803 bool temp2
= False
;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "text",(char *) "number", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4813 arg2
= wxString_in_helper(obj1
);
4814 if (arg2
== NULL
) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4842 int arg2
= (int) 0 ;
4843 PyObject
* obj0
= 0 ;
4845 (char *) "self",(char *) "number", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 (arg1
)->PopStatusText(arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 Py_INCREF(Py_None
); resultobj
= Py_None
;
4864 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4868 int *arg3
= (int *) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4872 (char *) "self",(char *) "widths", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4878 arg2
= PyList_Size(obj1
);
4879 arg3
= int_LIST_helper(obj1
);
4880 if (arg3
== NULL
) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4891 if (arg3
) delete [] arg3
;
4896 if (arg3
) delete [] arg3
;
4902 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj2
= 0 ;
4912 (char *) "self",(char *) "i",(char *) "rect", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (bool)((wxStatusBar
const *)arg1
)->GetFieldRect(arg2
,*arg3
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= PyInt_FromLong((long)result
);
4935 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4941 (char *) "self",(char *) "height", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetMinHeight(arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= PyInt_FromLong((long)result
);
4985 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4991 (char *) "self", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= PyInt_FromLong((long)result
);
5010 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5013 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5015 return Py_BuildValue((char *)"");
5017 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxWindow
*arg1
= (wxWindow
*) 0 ;
5021 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5022 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5023 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5024 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5025 long arg5
= (long) wxSP_3D
;
5026 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5027 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5028 wxSplitterWindow
*result
;
5031 bool temp6
= False
;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj2
= 0 ;
5034 PyObject
* obj3
= 0 ;
5035 PyObject
* obj5
= 0 ;
5037 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5045 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5051 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5056 arg6
= wxString_in_helper(obj5
);
5057 if (arg6
== NULL
) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5083 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxSplitterWindow
*result
;
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5105 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5108 wxWindow
*arg2
= (wxWindow
*) 0 ;
5110 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5111 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5112 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5113 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5114 long arg6
= (long) wxSP_3D
;
5115 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5116 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5120 bool temp7
= False
;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 PyObject
* obj3
= 0 ;
5124 PyObject
* obj4
= 0 ;
5125 PyObject
* obj6
= 0 ;
5127 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5132 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5147 arg7
= wxString_in_helper(obj6
);
5148 if (arg7
== NULL
) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= PyInt_FromLong((long)result
);
5174 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5178 PyObject
* obj0
= 0 ;
5180 (char *) "self", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= wxPyMake_wxObject(result
);
5201 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5205 PyObject
* obj0
= 0 ;
5207 (char *) "self", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= wxPyMake_wxObject(result
);
5228 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self",(char *) "mode", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 (arg1
)->SetSplitMode(arg2
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 Py_INCREF(Py_None
); resultobj
= Py_None
;
5253 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= PyInt_FromLong((long)result
);
5278 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5281 wxWindow
*arg2
= (wxWindow
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "window", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5290 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->Initialize(arg2
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5308 wxWindow
*arg2
= (wxWindow
*) 0 ;
5309 wxWindow
*arg3
= (wxWindow
*) 0 ;
5310 int arg4
= (int) 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5314 PyObject
* obj2
= 0 ;
5316 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5322 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= PyInt_FromLong((long)result
);
5337 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
;
5339 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5340 wxWindow
*arg2
= (wxWindow
*) 0 ;
5341 wxWindow
*arg3
= (wxWindow
*) 0 ;
5342 int arg4
= (int) 0 ;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5346 PyObject
* obj2
= 0 ;
5348 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5354 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= PyInt_FromLong((long)result
);
5369 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5372 wxWindow
*arg2
= (wxWindow
*) NULL
;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5377 (char *) "self",(char *) "toRemove", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (bool)(arg1
)->Unsplit(arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= PyInt_FromLong((long)result
);
5399 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5402 wxWindow
*arg2
= (wxWindow
*) 0 ;
5403 wxWindow
*arg3
= (wxWindow
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5407 PyObject
* obj2
= 0 ;
5409 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5415 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= PyInt_FromLong((long)result
);
5430 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5436 (char *) "self", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= PyInt_FromLong((long)result
);
5455 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self",(char *) "width", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->SetSashSize(arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5480 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5486 (char *) "self",(char *) "width", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 (arg1
)->SetBorderSize(arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 Py_INCREF(Py_None
); resultobj
= Py_None
;
5505 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= PyInt_FromLong((long)result
);
5530 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= PyInt_FromLong((long)result
);
5555 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5559 bool arg3
= (bool) True
;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj2
= 0 ;
5563 (char *) "self",(char *) "position",(char *) "redraw", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5569 arg3
= PyInt_AsLong(obj2
) ? true : false;
5570 if (PyErr_Occurred()) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 (arg1
)->SetSashPosition(arg2
,arg3
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5592 (char *) "self", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= PyInt_FromLong((long)result
);
5611 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5617 (char *) "self",(char *) "min", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->SetMinimumPaneSize(arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "self", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= PyInt_FromLong((long)result
);
5661 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5666 int arg4
= (int) 5 ;
5668 PyObject
* obj0
= 0 ;
5670 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= PyInt_FromLong((long)result
);
5689 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5694 (char *) "self", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 (arg1
)->SizeWindows();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 Py_INCREF(Py_None
); resultobj
= Py_None
;
5713 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5718 PyObject
* obj1
= 0 ;
5720 (char *) "self",(char *) "needUpdating", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5725 arg2
= PyInt_AsLong(obj1
) ? true : false;
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 (arg1
)->SetNeedUpdating(arg2
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5741 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5747 (char *) "self", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= PyInt_FromLong((long)result
);
5766 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5769 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5771 return Py_BuildValue((char *)"");
5773 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5776 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5777 wxSplitterEvent
*result
;
5778 PyObject
* obj1
= 0 ;
5780 (char *) "type",(char *) "splitter", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5801 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5805 PyObject
* obj0
= 0 ;
5807 (char *) "self",(char *) "pos", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 (arg1
)->SetSashPosition(arg2
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5819 Py_INCREF(Py_None
); resultobj
= Py_None
;
5826 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5830 PyObject
* obj0
= 0 ;
5832 (char *) "self", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyInt_FromLong((long)result
);
5851 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5855 PyObject
* obj0
= 0 ;
5857 (char *) "self", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= wxPyMake_wxObject(result
);
5878 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= PyInt_FromLong((long)result
);
5903 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= PyInt_FromLong((long)result
);
5928 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5933 return Py_BuildValue((char *)"");
5935 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxWindow
*arg1
= (wxWindow
*) 0 ;
5939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5943 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5944 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5945 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5946 wxSashWindow
*result
;
5949 bool temp6
= False
;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj2
= 0 ;
5952 PyObject
* obj3
= 0 ;
5953 PyObject
* obj5
= 0 ;
5955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5969 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5974 arg6
= wxString_in_helper(obj5
);
5975 if (arg6
== NULL
) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6001 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxSashWindow
*result
;
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxSashWindow
*)new wxSashWindow();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6023 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6026 wxWindow
*arg2
= (wxWindow
*) 0 ;
6028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6032 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6033 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6038 bool temp7
= False
;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6041 PyObject
* obj3
= 0 ;
6042 PyObject
* obj4
= 0 ;
6043 PyObject
* obj6
= 0 ;
6045 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6054 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6060 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6065 arg7
= wxString_in_helper(obj6
);
6066 if (arg7
== NULL
) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= PyInt_FromLong((long)result
);
6092 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
;
6094 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj2
= 0 ;
6100 (char *) "self",(char *) "edge",(char *) "sash", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6105 arg3
= PyInt_AsLong(obj2
) ? true : false;
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 Py_INCREF(Py_None
); resultobj
= Py_None
;
6121 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6128 (char *) "self",(char *) "edge", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= PyInt_FromLong((long)result
);
6147 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj2
= 0 ;
6155 (char *) "self",(char *) "edge",(char *) "border", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6160 arg3
= PyInt_AsLong(obj2
) ? true : false;
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 Py_INCREF(Py_None
); resultobj
= Py_None
;
6176 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
;
6178 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6181 PyObject
* obj0
= 0 ;
6183 (char *) "self",(char *) "edge", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= PyInt_FromLong((long)result
);
6202 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "self",(char *) "edge", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= PyInt_FromLong((long)result
);
6228 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6234 (char *) "self",(char *) "width", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->SetDefaultBorderSize(arg2
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6253 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6259 (char *) "self", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= PyInt_FromLong((long)result
);
6278 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self",(char *) "width", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetExtraBorderSize(arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= PyInt_FromLong((long)result
);
6328 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self",(char *) "min", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 (arg1
)->SetMinimumSizeX(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self",(char *) "min", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetMinimumSizeY(arg2
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6378 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6384 (char *) "self", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= PyInt_FromLong((long)result
);
6403 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= PyInt_FromLong((long)result
);
6428 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self",(char *) "max", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 (arg1
)->SetMaximumSizeX(arg2
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 Py_INCREF(Py_None
); resultobj
= Py_None
;
6453 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6457 PyObject
* obj0
= 0 ;
6459 (char *) "self",(char *) "max", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->SetMaximumSizeY(arg2
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 Py_INCREF(Py_None
); resultobj
= Py_None
;
6478 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6484 (char *) "self", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= PyInt_FromLong((long)result
);
6503 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6509 (char *) "self", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= PyInt_FromLong((long)result
);
6528 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6533 int arg4
= (int) 2 ;
6535 PyObject
* obj0
= 0 ;
6537 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= PyInt_FromLong((long)result
);
6556 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6561 (char *) "self", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 (arg1
)->SizeWindows();
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 Py_INCREF(Py_None
); resultobj
= Py_None
;
6580 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6583 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6585 return Py_BuildValue((char *)"");
6587 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 int arg1
= (int) 0 ;
6590 int arg2
= (int) wxSASH_NONE
;
6591 wxSashEvent
*result
;
6593 (char *) "id",(char *) "edge", NULL
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6611 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self",(char *) "edge", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6642 (char *) "self", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= PyInt_FromLong((long)result
);
6661 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6669 (char *) "self",(char *) "rect", NULL
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6676 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6698 (char *) "self", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6712 resultptr
= new wxRect((wxRect
&) result
);
6713 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6721 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self",(char *) "status", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 Py_INCREF(Py_None
); resultobj
= Py_None
;
6746 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6752 (char *) "self", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= PyInt_FromLong((long)result
);
6771 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6774 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6776 return Py_BuildValue((char *)"");
6778 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 int arg1
= (int) 0 ;
6781 wxQueryLayoutInfoEvent
*result
;
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6801 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "self",(char *) "length", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 (arg1
)->SetRequestedLength(arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 Py_INCREF(Py_None
); resultobj
= Py_None
;
6826 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= PyInt_FromLong((long)result
);
6851 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6855 PyObject
* obj0
= 0 ;
6857 (char *) "self",(char *) "flags", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 (arg1
)->SetFlags(arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 (char *) "self", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= PyInt_FromLong((long)result
);
6901 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6903 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "size", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6916 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 (arg1
)->SetSize((wxSize
const &)*arg2
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 Py_INCREF(Py_None
); resultobj
= Py_None
;
6932 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "self", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6952 resultptr
= new wxSize((wxSize
&) result
);
6953 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6961 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "self",(char *) "orient", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 Py_INCREF(Py_None
); resultobj
= Py_None
;
6986 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= PyInt_FromLong((long)result
);
7011 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self",(char *) "align", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 Py_INCREF(Py_None
); resultobj
= Py_None
;
7036 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7038 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7042 (char *) "self", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= PyInt_FromLong((long)result
);
7061 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7064 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7066 return Py_BuildValue((char *)"");
7068 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 int arg1
= (int) 0 ;
7071 wxCalculateLayoutEvent
*result
;
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7091 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7095 PyObject
* obj0
= 0 ;
7097 (char *) "self",(char *) "flags", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 (arg1
)->SetFlags(arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 Py_INCREF(Py_None
); resultobj
= Py_None
;
7116 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7122 (char *) "self", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= PyInt_FromLong((long)result
);
7141 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7149 (char *) "self",(char *) "rect", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7156 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetRect((wxRect
const &)*arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7192 resultptr
= new wxRect((wxRect
&) result
);
7193 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7201 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7204 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7206 return Py_BuildValue((char *)"");
7208 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7210 wxWindow
*arg1
= (wxWindow
*) 0 ;
7212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7216 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7217 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7218 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7219 wxSashLayoutWindow
*result
;
7222 bool temp6
= False
;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 PyObject
* obj3
= 0 ;
7226 PyObject
* obj5
= 0 ;
7228 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7242 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7247 arg6
= wxString_in_helper(obj5
);
7248 if (arg6
== NULL
) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7274 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxSashLayoutWindow
*result
;
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7296 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7299 wxWindow
*arg2
= (wxWindow
*) 0 ;
7301 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7302 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7303 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7304 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7305 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7306 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7307 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7311 bool temp7
= False
;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 PyObject
* obj3
= 0 ;
7315 PyObject
* obj4
= 0 ;
7316 PyObject
* obj6
= 0 ;
7318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7338 arg7
= wxString_in_helper(obj6
);
7339 if (arg7
== NULL
) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= PyInt_FromLong((long)result
);
7365 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7371 (char *) "self", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (int)(arg1
)->GetAlignment();
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= PyInt_FromLong((long)result
);
7390 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7396 (char *) "self", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (int)(arg1
)->GetOrientation();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= PyInt_FromLong((long)result
);
7415 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7421 (char *) "self",(char *) "alignment", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7440 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "self",(char *) "size", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self",(char *) "orientation", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7499 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7501 return Py_BuildValue((char *)"");
7503 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxLayoutAlgorithm
*result
;
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7525 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7552 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7553 wxRect
*arg3
= (wxRect
*) NULL
;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7559 (char *) "self",(char *) "frame",(char *) "rect", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7566 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= PyInt_FromLong((long)result
);
7582 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7585 wxFrame
*arg2
= (wxFrame
*) 0 ;
7586 wxWindow
*arg3
= (wxWindow
*) NULL
;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7592 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7599 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= PyInt_FromLong((long)result
);
7615 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7618 wxWindow
*arg2
= (wxWindow
*) 0 ;
7619 wxWindow
*arg3
= (wxWindow
*) NULL
;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7623 PyObject
* obj2
= 0 ;
7625 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7632 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= PyInt_FromLong((long)result
);
7648 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7651 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7653 return Py_BuildValue((char *)"");
7655 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxWindow
*arg1
= (wxWindow
*) 0 ;
7658 int arg2
= (int) wxBORDER_NONE
;
7659 wxPopupWindow
*result
;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "parent",(char *) "flags", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7681 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxPopupWindow
*result
;
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (wxPopupWindow
*)new wxPopupWindow();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7703 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7706 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7708 return Py_BuildValue((char *)"");
7710 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxWindow
*arg1
= (wxWindow
*) 0 ;
7713 int arg2
= (int) wxBORDER_NONE
;
7714 wxPyPopupTransientWindow
*result
;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "parent",(char *) "style", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7736 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxPyPopupTransientWindow
*result
;
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7758 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7761 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7763 return Py_BuildValue((char *)"");
7765 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxWindow
*arg1
= (wxWindow
*) 0 ;
7768 wxString
*arg2
= (wxString
*) 0 ;
7769 int arg3
= (int) 100 ;
7770 wxRect
*arg4
= (wxRect
*) NULL
;
7771 wxTipWindow
*result
;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7774 PyObject
* obj3
= 0 ;
7776 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7783 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const *)arg2
,arg3
,arg4
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7799 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7807 (char *) "self",(char *) "rectBound", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7814 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 Py_INCREF(Py_None
); resultobj
= Py_None
;
7830 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7835 (char *) "self", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7857 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7859 return Py_BuildValue((char *)"");
7861 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxWindow
*arg1
= (wxWindow
*) 0 ;
7864 int arg2
= (int) wxID_ANY
;
7865 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7866 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7867 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7868 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7869 long arg5
= (long) 0 ;
7870 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7871 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7872 wxPyVScrolledWindow
*result
;
7875 bool temp6
= False
;
7876 PyObject
* obj0
= 0 ;
7877 PyObject
* obj2
= 0 ;
7878 PyObject
* obj3
= 0 ;
7879 PyObject
* obj5
= 0 ;
7881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7895 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7900 arg6
= wxString_in_helper(obj5
);
7901 if (arg6
== NULL
) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7927 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxPyVScrolledWindow
*result
;
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7949 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7952 PyObject
*arg2
= (PyObject
*) 0 ;
7953 PyObject
*arg3
= (PyObject
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7958 (char *) "self",(char *) "self",(char *) "_class", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 Py_INCREF(Py_None
); resultobj
= Py_None
;
7979 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7982 wxWindow
*arg2
= (wxWindow
*) 0 ;
7983 int arg3
= (int) wxID_ANY
;
7984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7988 long arg6
= (long) 0 ;
7989 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7990 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7994 bool temp7
= False
;
7995 PyObject
* obj0
= 0 ;
7996 PyObject
* obj1
= 0 ;
7997 PyObject
* obj3
= 0 ;
7998 PyObject
* obj4
= 0 ;
7999 PyObject
* obj6
= 0 ;
8001 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8021 arg7
= wxString_in_helper(obj6
);
8022 if (arg7
== NULL
) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= PyInt_FromLong((long)result
);
8048 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8055 (char *) "self",(char *) "count", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8060 arg2
= (size_t) PyInt_AsLong(obj1
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 (arg1
)->SetLineCount(arg2
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8084 (char *) "self",(char *) "line", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8089 arg2
= (size_t) PyInt_AsLong(obj1
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= PyInt_FromLong((long)result
);
8105 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self",(char *) "lines", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (bool)(arg1
)->ScrollLines(arg2
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyInt_FromLong((long)result
);
8131 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self",(char *) "pages", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (bool)(arg1
)->ScrollPages(arg2
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= PyInt_FromLong((long)result
);
8157 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8164 (char *) "self",(char *) "line", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8169 arg2
= (size_t) PyInt_AsLong(obj1
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->RefreshLine(arg2
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8185 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8192 PyObject
* obj2
= 0 ;
8194 (char *) "self",(char *) "from",(char *) "to", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8199 arg2
= (size_t) PyInt_AsLong(obj1
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8201 arg3
= (size_t) PyInt_AsLong(obj2
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 (arg1
)->RefreshLines(arg2
,arg3
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self",(char *) "x",(char *) "y", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= PyInt_FromLong((long)result
);
8244 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "pt", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= PyInt_FromLong((long)result
);
8276 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8281 (char *) "self", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->RefreshAll();
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "self", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= PyInt_FromLong((long)result
);
8325 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8329 PyObject
* obj0
= 0 ;
8331 (char *) "self", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= PyInt_FromLong((long)result
);
8350 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8356 (char *) "self", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= PyInt_FromLong((long)result
);
8375 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8383 (char *) "self",(char *) "line", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8388 arg2
= (size_t) PyInt_AsLong(obj1
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= PyInt_FromLong((long)result
);
8404 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8407 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8409 return Py_BuildValue((char *)"");
8411 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxWindow
*arg1
= (wxWindow
*) 0 ;
8414 int arg2
= (int) wxID_ANY
;
8415 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8416 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8417 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8418 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8419 long arg5
= (long) 0 ;
8420 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8421 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8422 wxPyVListBox
*result
;
8425 bool temp6
= False
;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj2
= 0 ;
8428 PyObject
* obj3
= 0 ;
8429 PyObject
* obj5
= 0 ;
8431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8445 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8450 arg6
= wxString_in_helper(obj5
);
8451 if (arg6
== NULL
) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8477 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxPyVListBox
*result
;
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (wxPyVListBox
*)new wxPyVListBox();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8499 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8502 PyObject
*arg2
= (PyObject
*) 0 ;
8503 PyObject
*arg3
= (PyObject
*) 0 ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8506 PyObject
* obj2
= 0 ;
8508 (char *) "self",(char *) "self",(char *) "_class", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8529 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8532 wxWindow
*arg2
= (wxWindow
*) 0 ;
8533 int arg3
= (int) wxID_ANY
;
8534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8538 long arg6
= (long) 0 ;
8539 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8540 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8544 bool temp7
= False
;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 PyObject
* obj3
= 0 ;
8548 PyObject
* obj4
= 0 ;
8549 PyObject
* obj6
= 0 ;
8551 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8560 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8566 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8571 arg7
= wxString_in_helper(obj6
);
8572 if (arg7
== NULL
) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= PyInt_FromLong((long)result
);
8598 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= PyInt_FromLong((long)result
);
8623 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8629 (char *) "self", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= PyInt_FromLong((long)result
);
8648 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "self", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= PyInt_FromLong((long)result
);
8673 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8681 (char *) "self",(char *) "item", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8686 arg2
= (size_t) PyInt_AsLong(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= PyInt_FromLong((long)result
);
8702 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8710 (char *) "self",(char *) "item", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8715 arg2
= (size_t) PyInt_AsLong(obj1
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= PyInt_FromLong((long)result
);
8731 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
;
8733 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8737 (char *) "self", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= PyInt_FromLong((long)result
);
8756 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8759 unsigned long *arg2
= 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "cookie", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8769 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= PyInt_FromLong((long)result
);
8787 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8790 unsigned long *arg2
= 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8795 (char *) "self",(char *) "cookie", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8800 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8802 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= PyInt_FromLong((long)result
);
8818 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8822 PyObject
* obj0
= 0 ;
8824 (char *) "self", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 wxPoint
* resultptr
;
8838 resultptr
= new wxPoint((wxPoint
&) result
);
8839 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8847 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8862 result
= (wxColour
*) &_result_ref
;
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8875 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8882 (char *) "self",(char *) "count", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8887 arg2
= (size_t) PyInt_AsLong(obj1
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 (arg1
)->SetItemCount(arg2
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8906 PyObject
* obj0
= 0 ;
8908 (char *) "self", NULL
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 Py_INCREF(Py_None
); resultobj
= Py_None
;
8927 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8933 (char *) "self",(char *) "selection", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 (arg1
)->SetSelection(arg2
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8956 bool arg3
= (bool) True
;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 PyObject
* obj2
= 0 ;
8962 (char *) "self",(char *) "item",(char *) "select", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 arg2
= (size_t) PyInt_AsLong(obj1
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 arg3
= PyInt_AsLong(obj2
) ? true : false;
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= PyInt_FromLong((long)result
);
8987 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8997 (char *) "self",(char *) "from",(char *) "to", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9002 arg2
= (size_t) PyInt_AsLong(obj1
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9004 arg3
= (size_t) PyInt_AsLong(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= PyInt_FromLong((long)result
);
9020 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9027 (char *) "self",(char *) "item", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9032 arg2
= (size_t) PyInt_AsLong(obj1
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 (arg1
)->Toggle(arg2
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (bool)(arg1
)->SelectAll();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= PyInt_FromLong((long)result
);
9073 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9079 (char *) "self", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)(arg1
)->DeselectAll();
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= PyInt_FromLong((long)result
);
9098 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9104 PyObject
* obj1
= 0 ;
9106 (char *) "self",(char *) "pt", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 Py_INCREF(Py_None
); resultobj
= Py_None
;
9129 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9134 PyObject
* obj0
= 0 ;
9136 (char *) "self",(char *) "x",(char *) "y", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 (arg1
)->SetMargins(arg2
,arg3
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 Py_INCREF(Py_None
); resultobj
= Py_None
;
9155 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9158 wxColour
*arg2
= 0 ;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9163 (char *) "self",(char *) "col", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9189 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9191 return Py_BuildValue((char *)"");
9193 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxWindow
*arg1
= (wxWindow
*) 0 ;
9196 int arg2
= (int) wxID_ANY
;
9197 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9198 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9199 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9200 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9201 long arg5
= (long) 0 ;
9202 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9203 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9204 wxPyHtmlListBox
*result
;
9207 bool temp6
= False
;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj2
= 0 ;
9210 PyObject
* obj3
= 0 ;
9211 PyObject
* obj5
= 0 ;
9213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9227 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9232 arg6
= wxString_in_helper(obj5
);
9233 if (arg6
== NULL
) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9259 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyHtmlListBox
*result
;
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9281 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9284 PyObject
*arg2
= (PyObject
*) 0 ;
9285 PyObject
*arg3
= (PyObject
*) 0 ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9288 PyObject
* obj2
= 0 ;
9290 (char *) "self",(char *) "self",(char *) "_class", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 Py_INCREF(Py_None
); resultobj
= Py_None
;
9311 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9314 wxWindow
*arg2
= (wxWindow
*) 0 ;
9315 int arg3
= (int) wxID_ANY
;
9316 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9317 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9318 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9319 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9320 long arg6
= (long) 0 ;
9321 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9322 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9326 bool temp7
= False
;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 PyObject
* obj3
= 0 ;
9330 PyObject
* obj4
= 0 ;
9331 PyObject
* obj6
= 0 ;
9333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9353 arg7
= wxString_in_helper(obj6
);
9354 if (arg7
== NULL
) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= PyInt_FromLong((long)result
);
9380 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->RefreshAll();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9411 (char *) "self",(char *) "count", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9416 arg2
= (size_t) PyInt_AsLong(obj1
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->SetItemCount(arg2
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 Py_INCREF(Py_None
); resultobj
= Py_None
;
9432 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9435 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9437 return Py_BuildValue((char *)"");
9439 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxTaskBarIcon
*result
;
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9461 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 Py_INCREF(Py_None
); resultobj
= Py_None
;
9485 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9488 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9490 return Py_BuildValue((char *)"");
9492 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9495 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9496 wxTaskBarIconEvent
*result
;
9497 PyObject
* obj1
= 0 ;
9499 (char *) "evtType",(char *) "tbIcon", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9518 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9521 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9523 return Py_BuildValue((char *)"");
9525 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxColourData
*result
;
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (wxColourData
*)new wxColourData();
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9547 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxColourData
*arg1
= (wxColourData
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9552 (char *) "self", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 Py_INCREF(Py_None
); resultobj
= Py_None
;
9571 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxColourData
*arg1
= (wxColourData
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9577 (char *) "self", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (bool)(arg1
)->GetChooseFull();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= PyInt_FromLong((long)result
);
9596 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxColourData
*arg1
= (wxColourData
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9602 (char *) "self", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (arg1
)->GetColour();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 wxColour
* resultptr
;
9616 resultptr
= new wxColour((wxColour
&) result
);
9617 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9625 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxColourData
*arg1
= (wxColourData
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 (char *) "self",(char *) "i", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (arg1
)->GetCustomColour(arg2
);
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 wxColour
* resultptr
;
9646 resultptr
= new wxColour((wxColour
&) result
);
9647 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9655 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxColourData
*arg1
= (wxColourData
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9661 (char *) "self",(char *) "flag", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 (arg1
)->SetChooseFull(arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 Py_INCREF(Py_None
); resultobj
= Py_None
;
9680 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxColourData
*arg1
= (wxColourData
*) 0 ;
9683 wxColour
*arg2
= 0 ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9688 (char *) "self",(char *) "colour", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 (arg1
)->SetColour((wxColour
const &)*arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 Py_INCREF(Py_None
); resultobj
= Py_None
;
9711 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxColourData
*arg1
= (wxColourData
*) 0 ;
9715 wxColour
*arg3
= 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj2
= 0 ;
9720 (char *) "self",(char *) "i",(char *) "colour", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9727 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9746 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9748 return Py_BuildValue((char *)"");
9750 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxWindow
*arg1
= (wxWindow
*) 0 ;
9753 wxColourData
*arg2
= (wxColourData
*) NULL
;
9754 wxColourDialog
*result
;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9758 (char *) "parent",(char *) "data", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9780 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9783 wxColourData
*result
;
9784 PyObject
* obj0
= 0 ;
9786 (char *) "self", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9795 result
= (wxColourData
*) &_result_ref
;
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9808 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (int)(arg1
)->ShowModal();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= PyInt_FromLong((long)result
);
9833 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9836 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
9838 return Py_BuildValue((char *)"");
9840 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxWindow
*arg1
= (wxWindow
*) 0 ;
9843 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
9844 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9847 long arg4
= (long) 0 ;
9848 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9849 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9850 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9851 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9852 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
9853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9854 wxDirDialog
*result
;
9855 bool temp2
= False
;
9856 bool temp3
= False
;
9859 bool temp7
= False
;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9862 PyObject
* obj2
= 0 ;
9863 PyObject
* obj4
= 0 ;
9864 PyObject
* obj5
= 0 ;
9865 PyObject
* obj6
= 0 ;
9867 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9874 arg2
= wxString_in_helper(obj1
);
9875 if (arg2
== NULL
) SWIG_fail
;
9881 arg3
= wxString_in_helper(obj2
);
9882 if (arg3
== NULL
) SWIG_fail
;
9889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9895 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9900 arg7
= wxString_in_helper(obj6
);
9901 if (arg7
== NULL
) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
9943 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9949 (char *) "self", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (arg1
)->GetPath();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9974 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (arg1
)->GetMessage();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10005 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (long)(arg1
)->GetStyle();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= PyInt_FromLong((long)result
);
10030 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10033 wxString
*arg2
= 0 ;
10034 bool temp2
= False
;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "message", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 (arg1
)->SetMessage((wxString
const &)*arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10055 Py_INCREF(Py_None
); resultobj
= Py_None
;
10070 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
;
10072 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10073 wxString
*arg2
= 0 ;
10074 bool temp2
= False
;
10075 PyObject
* obj0
= 0 ;
10076 PyObject
* obj1
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self",(char *) "path", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10084 arg2
= wxString_in_helper(obj1
);
10085 if (arg2
== NULL
) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 (arg1
)->SetPath((wxString
const &)*arg2
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 Py_INCREF(Py_None
); resultobj
= Py_None
;
10110 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)(arg1
)->ShowModal();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= PyInt_FromLong((long)result
);
10135 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10138 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10140 return Py_BuildValue((char *)"");
10142 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxWindow
*arg1
= (wxWindow
*) 0 ;
10145 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10146 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10151 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10152 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10153 long arg6
= (long) 0 ;
10154 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10155 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10156 wxFileDialog
*result
;
10157 bool temp2
= False
;
10158 bool temp3
= False
;
10159 bool temp4
= False
;
10160 bool temp5
= False
;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 PyObject
* obj2
= 0 ;
10165 PyObject
* obj3
= 0 ;
10166 PyObject
* obj4
= 0 ;
10167 PyObject
* obj6
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10176 arg2
= wxString_in_helper(obj1
);
10177 if (arg2
== NULL
) SWIG_fail
;
10183 arg3
= wxString_in_helper(obj2
);
10184 if (arg3
== NULL
) SWIG_fail
;
10190 arg4
= wxString_in_helper(obj3
);
10191 if (arg4
== NULL
) SWIG_fail
;
10197 arg5
= wxString_in_helper(obj4
);
10198 if (arg5
== NULL
) SWIG_fail
;
10205 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10254 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10257 wxString
*arg2
= 0 ;
10258 bool temp2
= False
;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self",(char *) "message", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10268 arg2
= wxString_in_helper(obj1
);
10269 if (arg2
== NULL
) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 (arg1
)->SetMessage((wxString
const &)*arg2
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10297 wxString
*arg2
= 0 ;
10298 bool temp2
= False
;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "path", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10308 arg2
= wxString_in_helper(obj1
);
10309 if (arg2
== NULL
) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->SetPath((wxString
const &)*arg2
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10337 wxString
*arg2
= 0 ;
10338 bool temp2
= False
;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self",(char *) "dir", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10348 arg2
= wxString_in_helper(obj1
);
10349 if (arg2
== NULL
) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 Py_INCREF(Py_None
); resultobj
= Py_None
;
10374 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10377 wxString
*arg2
= 0 ;
10378 bool temp2
= False
;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "name", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10388 arg2
= wxString_in_helper(obj1
);
10389 if (arg2
== NULL
) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 (arg1
)->SetFilename((wxString
const &)*arg2
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 Py_INCREF(Py_None
); resultobj
= Py_None
;
10414 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10417 wxString
*arg2
= 0 ;
10418 bool temp2
= False
;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "wildCard", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10428 arg2
= wxString_in_helper(obj1
);
10429 if (arg2
== NULL
) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self",(char *) "style", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->SetStyle(arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 Py_INCREF(Py_None
); resultobj
= Py_None
;
10479 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self",(char *) "filterIndex", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 (arg1
)->SetFilterIndex(arg2
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 Py_INCREF(Py_None
); resultobj
= Py_None
;
10504 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10535 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10566 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10597 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10628 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10659 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= PyInt_FromLong((long)result
);
10684 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= PyInt_FromLong((long)result
);
10709 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= result
;
10734 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10738 PyObject
* obj0
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= result
;
10759 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10762 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10764 return Py_BuildValue((char *)"");
10766 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxWindow
*arg1
= (wxWindow
*) 0 ;
10769 wxString
*arg2
= 0 ;
10770 wxString
*arg3
= 0 ;
10772 wxString
*arg5
= (wxString
*) 0 ;
10773 long arg6
= (long) wxCHOICEDLG_STYLE
;
10774 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10775 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10776 wxMultiChoiceDialog
*result
;
10777 bool temp2
= False
;
10778 bool temp3
= False
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj4
= 0 ;
10784 PyObject
* obj6
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10792 arg2
= wxString_in_helper(obj1
);
10793 if (arg2
== NULL
) SWIG_fail
;
10797 arg3
= wxString_in_helper(obj2
);
10798 if (arg3
== NULL
) SWIG_fail
;
10801 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10805 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
10838 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10841 wxArrayInt
*arg2
= 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "selections", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10851 if (! PySequence_Check(obj1
)) {
10852 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10855 arg2
= new wxArrayInt
;
10856 int i
, len
=PySequence_Length(obj1
);
10857 for (i
=0; i
<len
; i
++) {
10858 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10859 PyObject
* number
= PyNumber_Int(item
);
10860 arg2
->Add(PyInt_AS_LONG(number
));
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10874 if (arg2
) delete arg2
;
10879 if (arg2
) delete arg2
;
10885 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= result
;
10910 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10913 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
10915 return Py_BuildValue((char *)"");
10917 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxWindow
*arg1
= (wxWindow
*) 0 ;
10920 wxString
*arg2
= 0 ;
10921 wxString
*arg3
= 0 ;
10923 wxString
*arg5
= (wxString
*) 0 ;
10924 long arg6
= (long) wxCHOICEDLG_STYLE
;
10925 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10926 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10927 wxSingleChoiceDialog
*result
;
10928 bool temp2
= False
;
10929 bool temp3
= False
;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 PyObject
* obj3
= 0 ;
10935 PyObject
* obj5
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10943 arg2
= wxString_in_helper(obj1
);
10944 if (arg2
== NULL
) SWIG_fail
;
10948 arg3
= wxString_in_helper(obj2
);
10949 if (arg3
== NULL
) SWIG_fail
;
10953 arg4
= PyList_Size(obj3
);
10954 arg5
= wxString_LIST_helper(obj3
);
10955 if (arg5
== NULL
) SWIG_fail
;
10960 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
10980 if (arg5
) delete [] arg5
;
10993 if (arg5
) delete [] arg5
;
10999 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (int)(arg1
)->GetSelection();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= PyInt_FromLong((long)result
);
11024 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (arg1
)->GetStringSelection();
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11055 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11059 PyObject
* obj0
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self",(char *) "sel", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 (arg1
)->SetSelection(arg2
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 Py_INCREF(Py_None
); resultobj
= Py_None
;
11080 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (int)(arg1
)->ShowModal();
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= PyInt_FromLong((long)result
);
11105 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11108 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11110 return Py_BuildValue((char *)"");
11112 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxWindow
*arg1
= (wxWindow
*) 0 ;
11115 wxString
*arg2
= 0 ;
11116 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11118 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11119 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11120 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11121 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11122 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11123 wxTextEntryDialog
*result
;
11124 bool temp2
= False
;
11125 bool temp3
= False
;
11126 bool temp4
= False
;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 PyObject
* obj2
= 0 ;
11131 PyObject
* obj3
= 0 ;
11132 PyObject
* obj5
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11140 arg2
= wxString_in_helper(obj1
);
11141 if (arg2
== NULL
) SWIG_fail
;
11146 arg3
= wxString_in_helper(obj2
);
11147 if (arg3
== NULL
) SWIG_fail
;
11153 arg4
= wxString_in_helper(obj3
);
11154 if (arg4
== NULL
) SWIG_fail
;
11161 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11202 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (arg1
)->GetValue();
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11233 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11236 wxString
*arg2
= 0 ;
11237 bool temp2
= False
;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "value", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11247 arg2
= wxString_in_helper(obj1
);
11248 if (arg2
== NULL
) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->SetValue((wxString
const &)*arg2
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (int)(arg1
)->ShowModal();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= PyInt_FromLong((long)result
);
11298 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11301 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11303 return Py_BuildValue((char *)"");
11305 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxFontData
*result
;
11308 char *kwnames
[] = {
11312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (wxFontData
*)new wxFontData();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11327 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxFontData
*arg1
= (wxFontData
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 Py_INCREF(Py_None
); resultobj
= Py_None
;
11351 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxFontData
*arg1
= (wxFontData
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "enable", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11363 arg2
= PyInt_AsLong(obj1
) ? true : false;
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 (arg1
)->EnableEffects(arg2
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 Py_INCREF(Py_None
); resultobj
= Py_None
;
11379 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxFontData
*arg1
= (wxFontData
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (bool)(arg1
)->GetAllowSymbols();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= PyInt_FromLong((long)result
);
11404 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxFontData
*arg1
= (wxFontData
*) 0 ;
11408 PyObject
* obj0
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (arg1
)->GetColour();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 wxColour
* resultptr
;
11424 resultptr
= new wxColour((wxColour
&) result
);
11425 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11433 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxFontData
*arg1
= (wxFontData
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (arg1
)->GetChosenFont();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 wxFont
* resultptr
;
11453 resultptr
= new wxFont((wxFont
&) result
);
11454 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11462 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxFontData
*arg1
= (wxFontData
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->GetEnableEffects();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= PyInt_FromLong((long)result
);
11487 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxFontData
*arg1
= (wxFontData
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (arg1
)->GetInitialFont();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 wxFont
* resultptr
;
11507 resultptr
= new wxFont((wxFont
&) result
);
11508 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11516 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxFontData
*arg1
= (wxFontData
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (bool)(arg1
)->GetShowHelp();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= PyInt_FromLong((long)result
);
11541 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxFontData
*arg1
= (wxFontData
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self",(char *) "allowSymbols", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11553 arg2
= PyInt_AsLong(obj1
) ? true : false;
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 (arg1
)->SetAllowSymbols(arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 Py_INCREF(Py_None
); resultobj
= Py_None
;
11569 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxFontData
*arg1
= (wxFontData
*) 0 ;
11573 PyObject
* obj0
= 0 ;
11574 PyObject
* obj1
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "font", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11582 if (arg2
== NULL
) {
11583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 Py_INCREF(Py_None
); resultobj
= Py_None
;
11599 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxFontData
*arg1
= (wxFontData
*) 0 ;
11602 wxColour
*arg2
= 0 ;
11604 PyObject
* obj0
= 0 ;
11605 PyObject
* obj1
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self",(char *) "colour", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11614 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 (arg1
)->SetColour((wxColour
const &)*arg2
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 Py_INCREF(Py_None
); resultobj
= Py_None
;
11630 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxFontData
*arg1
= (wxFontData
*) 0 ;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "self",(char *) "font", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11643 if (arg2
== NULL
) {
11644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxFontData
*arg1
= (wxFontData
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self",(char *) "min",(char *) "max", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 (arg1
)->SetRange(arg2
,arg3
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 Py_INCREF(Py_None
); resultobj
= Py_None
;
11686 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxFontData
*arg1
= (wxFontData
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "showHelp", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11698 arg2
= PyInt_AsLong(obj1
) ? true : false;
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetShowHelp(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxWindow
*arg1
= (wxWindow
*) 0 ;
11724 wxFontData
*arg2
= 0 ;
11725 wxFontDialog
*result
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "parent",(char *) "data", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11735 if (arg2
== NULL
) {
11736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11752 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11755 wxFontData
*result
;
11756 PyObject
* obj0
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11767 result
= (wxFontData
*) &_result_ref
;
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11780 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (int)(arg1
)->ShowModal();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= PyInt_FromLong((long)result
);
11805 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11808 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
11810 return Py_BuildValue((char *)"");
11812 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxWindow
*arg1
= (wxWindow
*) 0 ;
11815 wxString
*arg2
= 0 ;
11816 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
11817 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11818 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11819 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11820 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11821 wxMessageDialog
*result
;
11822 bool temp2
= False
;
11823 bool temp3
= False
;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 PyObject
* obj2
= 0 ;
11828 PyObject
* obj4
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 arg2
= wxString_in_helper(obj1
);
11837 if (arg2
== NULL
) SWIG_fail
;
11842 arg3
= wxString_in_helper(obj2
);
11843 if (arg3
== NULL
) SWIG_fail
;
11850 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
11883 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (int)(arg1
)->ShowModal();
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= PyInt_FromLong((long)result
);
11908 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11911 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
11913 return Py_BuildValue((char *)"");
11915 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
;
11917 wxString
*arg1
= 0 ;
11918 wxString
*arg2
= 0 ;
11919 int arg3
= (int) 100 ;
11920 wxWindow
*arg4
= (wxWindow
*) NULL
;
11921 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
11922 wxProgressDialog
*result
;
11923 bool temp1
= False
;
11924 bool temp2
= False
;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 PyObject
* obj3
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
11934 arg1
= wxString_in_helper(obj0
);
11935 if (arg1
== NULL
) SWIG_fail
;
11939 arg2
= wxString_in_helper(obj1
);
11940 if (arg2
== NULL
) SWIG_fail
;
11944 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
11976 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11980 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11981 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11983 bool temp3
= False
;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj2
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11994 arg3
= wxString_in_helper(obj2
);
11995 if (arg3
== NULL
) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= PyInt_FromLong((long)result
);
12021 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12024 PyObject
* obj0
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 Py_INCREF(Py_None
); resultobj
= Py_None
;
12045 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12048 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12050 return Py_BuildValue((char *)"");
12052 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12055 int arg2
= (int) 0 ;
12056 wxFindDialogEvent
*result
;
12057 char *kwnames
[] = {
12058 (char *) "commandType",(char *) "id", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12076 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (int)(arg1
)->GetFlags();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= PyInt_FromLong((long)result
);
12101 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (arg1
)->GetFindString();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12132 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12147 result
= (wxString
*) &_result_ref
;
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12160 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12163 wxFindReplaceDialog
*result
;
12164 PyObject
* obj0
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12185 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
;
12187 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self",(char *) "flags", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->SetFlags(arg2
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 Py_INCREF(Py_None
); resultobj
= Py_None
;
12210 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12213 wxString
*arg2
= 0 ;
12214 bool temp2
= False
;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "str", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12224 arg2
= wxString_in_helper(obj1
);
12225 if (arg2
== NULL
) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 (arg1
)->SetFindString((wxString
const &)*arg2
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 Py_INCREF(Py_None
); resultobj
= Py_None
;
12250 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12253 wxString
*arg2
= 0 ;
12254 bool temp2
= False
;
12255 PyObject
* obj0
= 0 ;
12256 PyObject
* obj1
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self",(char *) "str", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12264 arg2
= wxString_in_helper(obj1
);
12265 if (arg2
== NULL
) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12290 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12293 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12295 return Py_BuildValue((char *)"");
12297 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 int arg1
= (int) 0 ;
12300 wxFindReplaceData
*result
;
12301 char *kwnames
[] = {
12302 (char *) "flags", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12320 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 wxString
const &_result_ref
= (arg1
)->GetFindString();
12359 result
= (wxString
*) &_result_ref
;
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12372 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12376 PyObject
* obj0
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12387 result
= (wxString
*) &_result_ref
;
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12400 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (int)(arg1
)->GetFlags();
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= PyInt_FromLong((long)result
);
12425 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "flags", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->SetFlags(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12453 wxString
*arg2
= 0 ;
12454 bool temp2
= False
;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "str", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12464 arg2
= wxString_in_helper(obj1
);
12465 if (arg2
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->SetFindString((wxString
const &)*arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12493 wxString
*arg2
= 0 ;
12494 bool temp2
= False
;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self",(char *) "str", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12504 arg2
= wxString_in_helper(obj1
);
12505 if (arg2
== NULL
) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12530 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12533 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12535 return Py_BuildValue((char *)"");
12537 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxWindow
*arg1
= (wxWindow
*) 0 ;
12540 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12541 wxString
*arg3
= 0 ;
12542 int arg4
= (int) 0 ;
12543 wxFindReplaceDialog
*result
;
12544 bool temp3
= False
;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 PyObject
* obj2
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12556 arg3
= wxString_in_helper(obj2
);
12557 if (arg3
== NULL
) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12582 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxFindReplaceDialog
*result
;
12585 char *kwnames
[] = {
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12604 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12607 wxWindow
*arg2
= (wxWindow
*) 0 ;
12608 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12609 wxString
*arg4
= 0 ;
12610 int arg5
= (int) 0 ;
12612 bool temp4
= False
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 PyObject
* obj3
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12624 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 arg4
= wxString_in_helper(obj3
);
12627 if (arg4
== NULL
) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= PyInt_FromLong((long)result
);
12652 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12655 wxFindReplaceData
*result
;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12677 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12680 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "data", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12689 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 (arg1
)->SetData(arg2
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 Py_INCREF(Py_None
); resultobj
= Py_None
;
12704 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12707 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12709 return Py_BuildValue((char *)"");
12711 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
;
12713 wxWindow
*arg1
= (wxWindow
*) 0 ;
12715 wxString
*arg3
= 0 ;
12716 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12717 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12718 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12719 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12720 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12721 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12722 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12723 wxMDIParentFrame
*result
;
12724 bool temp3
= False
;
12727 bool temp7
= False
;
12728 PyObject
* obj0
= 0 ;
12729 PyObject
* obj2
= 0 ;
12730 PyObject
* obj3
= 0 ;
12731 PyObject
* obj4
= 0 ;
12732 PyObject
* obj6
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12740 arg3
= wxString_in_helper(obj2
);
12741 if (arg3
== NULL
) SWIG_fail
;
12747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12758 arg7
= wxString_in_helper(obj6
);
12759 if (arg7
== NULL
) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12793 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxMDIParentFrame
*result
;
12796 char *kwnames
[] = {
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12815 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12818 wxWindow
*arg2
= (wxWindow
*) 0 ;
12820 wxString
*arg4
= 0 ;
12821 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12822 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12823 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12824 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12825 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12826 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12827 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12829 bool temp4
= False
;
12832 bool temp8
= False
;
12833 PyObject
* obj0
= 0 ;
12834 PyObject
* obj1
= 0 ;
12835 PyObject
* obj3
= 0 ;
12836 PyObject
* obj4
= 0 ;
12837 PyObject
* obj5
= 0 ;
12838 PyObject
* obj7
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12847 arg4
= wxString_in_helper(obj3
);
12848 if (arg4
== NULL
) SWIG_fail
;
12854 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12860 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12865 arg8
= wxString_in_helper(obj7
);
12866 if (arg8
== NULL
) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= PyInt_FromLong((long)result
);
12900 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->ActivateNext();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 (arg1
)->ActivatePrevious();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 Py_INCREF(Py_None
); resultobj
= Py_None
;
12948 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
;
12950 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 (arg1
)->ArrangeIcons();
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 Py_INCREF(Py_None
); resultobj
= Py_None
;
12972 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
;
12974 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 Py_INCREF(Py_None
); resultobj
= Py_None
;
12996 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12999 wxMDIChildFrame
*result
;
13000 PyObject
* obj0
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= wxPyMake_wxObject(result
);
13023 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13026 wxMDIClientWindow
*result
;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= wxPyMake_wxObject(result
);
13050 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (wxWindow
*)(arg1
)->GetToolBar();
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= wxPyMake_wxObject(result
);
13077 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 Py_INCREF(Py_None
); resultobj
= Py_None
;
13101 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13104 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13106 return Py_BuildValue((char *)"");
13108 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13112 wxString
*arg3
= 0 ;
13113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13117 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13118 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13120 wxMDIChildFrame
*result
;
13121 bool temp3
= False
;
13124 bool temp7
= False
;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj2
= 0 ;
13127 PyObject
* obj3
= 0 ;
13128 PyObject
* obj4
= 0 ;
13129 PyObject
* obj6
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13137 arg3
= wxString_in_helper(obj2
);
13138 if (arg3
== NULL
) SWIG_fail
;
13144 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13150 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13155 arg7
= wxString_in_helper(obj6
);
13156 if (arg7
== NULL
) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= wxPyMake_wxObject(result
);
13192 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxMDIChildFrame
*result
;
13195 char *kwnames
[] = {
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= wxPyMake_wxObject(result
);
13216 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13219 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13221 wxString
*arg4
= 0 ;
13222 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13223 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13224 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13225 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13226 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13227 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13228 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13230 bool temp4
= False
;
13233 bool temp8
= False
;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 PyObject
* obj3
= 0 ;
13237 PyObject
* obj4
= 0 ;
13238 PyObject
* obj5
= 0 ;
13239 PyObject
* obj7
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13248 arg4
= wxString_in_helper(obj3
);
13249 if (arg4
== NULL
) SWIG_fail
;
13255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13266 arg8
= wxString_in_helper(obj7
);
13267 if (arg8
== NULL
) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= PyInt_FromLong((long)result
);
13301 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 (arg1
)->Activate();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 Py_INCREF(Py_None
); resultobj
= Py_None
;
13325 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self",(char *) "maximize", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13337 arg2
= PyInt_AsLong(obj1
) ? true : false;
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->Maximize(arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 Py_INCREF(Py_None
); resultobj
= Py_None
;
13353 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13380 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13382 return Py_BuildValue((char *)"");
13384 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13387 long arg2
= (long) 0 ;
13388 wxMDIClientWindow
*result
;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "parent",(char *) "style", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= wxPyMake_wxObject(result
);
13412 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxMDIClientWindow
*result
;
13415 char *kwnames
[] = {
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= wxPyMake_wxObject(result
);
13436 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13439 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13440 long arg3
= (long) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self",(char *) "parent",(char *) "style", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= PyInt_FromLong((long)result
);
13465 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13468 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13470 return Py_BuildValue((char *)"");
13472 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxWindow
*arg1
= (wxWindow
*) 0 ;
13476 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13477 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13478 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13479 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13480 long arg5
= (long) 0 ;
13481 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13482 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13483 wxPyWindow
*result
;
13486 bool temp6
= False
;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj2
= 0 ;
13489 PyObject
* obj3
= 0 ;
13490 PyObject
* obj5
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13500 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13506 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13511 arg6
= wxString_in_helper(obj5
);
13512 if (arg6
== NULL
) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13538 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13541 PyObject
*arg2
= (PyObject
*) 0 ;
13542 PyObject
*arg3
= (PyObject
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 PyObject
* obj2
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self",(char *) "self",(char *) "_class", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 Py_INCREF(Py_None
); resultobj
= Py_None
;
13568 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 Py_INCREF(Py_None
); resultobj
= Py_None
;
13596 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13603 int arg6
= (int) wxSIZE_AUTO
;
13604 PyObject
* obj0
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 Py_INCREF(Py_None
); resultobj
= Py_None
;
13625 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "width",(char *) "height", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 Py_INCREF(Py_None
); resultobj
= Py_None
;
13651 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self",(char *) "x",(char *) "y", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 Py_INCREF(Py_None
); resultobj
= Py_None
;
13677 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13680 int *arg2
= (int *) 0 ;
13681 int *arg3
= (int *) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 Py_INCREF(Py_None
); resultobj
= Py_None
;
13702 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13703 resultobj
= t_output_helper(resultobj
,o
);
13706 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13707 resultobj
= t_output_helper(resultobj
,o
);
13715 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13718 int *arg2
= (int *) 0 ;
13719 int *arg3
= (int *) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 Py_INCREF(Py_None
); resultobj
= Py_None
;
13740 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13741 resultobj
= t_output_helper(resultobj
,o
);
13744 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13745 resultobj
= t_output_helper(resultobj
,o
);
13753 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13756 int *arg2
= (int *) 0 ;
13757 int *arg3
= (int *) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 Py_INCREF(Py_None
); resultobj
= Py_None
;
13778 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13779 resultobj
= t_output_helper(resultobj
,o
);
13782 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13783 resultobj
= t_output_helper(resultobj
,o
);
13791 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13810 wxSize
* resultptr
;
13811 resultptr
= new wxSize((wxSize
&) result
);
13812 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13820 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 wxSize
* resultptr
;
13840 resultptr
= new wxSize((wxSize
&) result
);
13841 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13849 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 (arg1
)->base_InitDialog();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 Py_INCREF(Py_None
); resultobj
= Py_None
;
13873 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
13883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (bool)(arg1
)->base_TransferDataToWindow();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= PyInt_FromLong((long)result
);
13898 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= (bool)(arg1
)->base_TransferDataFromWindow();
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= PyInt_FromLong((long)result
);
13923 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13927 PyObject
* obj0
= 0 ;
13928 char *kwnames
[] = {
13929 (char *) "self", NULL
13932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
13933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 result
= (bool)(arg1
)->base_Validate();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= PyInt_FromLong((long)result
);
13948 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= PyInt_FromLong((long)result
);
13973 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
13983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= PyInt_FromLong((long)result
);
13998 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 wxSize
* resultptr
;
14018 resultptr
= new wxSize((wxSize
&) result
);
14019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14027 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14030 wxWindow
*arg2
= (wxWindow
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "self",(char *) "child", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14039 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 (arg1
)->base_AddChild(arg2
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 Py_INCREF(Py_None
); resultobj
= Py_None
;
14054 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14057 wxWindow
*arg2
= (wxWindow
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "child", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 (arg1
)->base_RemoveChild(arg2
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 Py_INCREF(Py_None
); resultobj
= Py_None
;
14081 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14084 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14086 return Py_BuildValue((char *)"");
14088 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxWindow
*arg1
= (wxWindow
*) 0 ;
14092 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14093 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14094 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14095 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14096 long arg5
= (long) 0 ;
14097 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14098 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14102 bool temp6
= False
;
14103 PyObject
* obj0
= 0 ;
14104 PyObject
* obj2
= 0 ;
14105 PyObject
* obj3
= 0 ;
14106 PyObject
* obj5
= 0 ;
14107 char *kwnames
[] = {
14108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14122 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14127 arg6
= wxString_in_helper(obj5
);
14128 if (arg6
== NULL
) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14154 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14157 PyObject
*arg2
= (PyObject
*) 0 ;
14158 PyObject
*arg3
= (PyObject
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self",(char *) "self",(char *) "_class", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 Py_INCREF(Py_None
); resultobj
= Py_None
;
14212 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14219 int arg6
= (int) wxSIZE_AUTO
;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 Py_INCREF(Py_None
); resultobj
= Py_None
;
14241 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self",(char *) "width",(char *) "height", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 Py_INCREF(Py_None
); resultobj
= Py_None
;
14267 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self",(char *) "x",(char *) "y", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 Py_INCREF(Py_None
); resultobj
= Py_None
;
14293 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14296 int *arg2
= (int *) 0 ;
14297 int *arg3
= (int *) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14319 resultobj
= t_output_helper(resultobj
,o
);
14322 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14323 resultobj
= t_output_helper(resultobj
,o
);
14331 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14334 int *arg2
= (int *) 0 ;
14335 int *arg3
= (int *) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 Py_INCREF(Py_None
); resultobj
= Py_None
;
14356 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14357 resultobj
= t_output_helper(resultobj
,o
);
14360 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14361 resultobj
= t_output_helper(resultobj
,o
);
14369 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14372 int *arg2
= (int *) 0 ;
14373 int *arg3
= (int *) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 Py_INCREF(Py_None
); resultobj
= Py_None
;
14394 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14395 resultobj
= t_output_helper(resultobj
,o
);
14398 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14399 resultobj
= t_output_helper(resultobj
,o
);
14407 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14426 wxSize
* resultptr
;
14427 resultptr
= new wxSize((wxSize
&) result
);
14428 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14436 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 wxSize
* resultptr
;
14456 resultptr
= new wxSize((wxSize
&) result
);
14457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14465 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 (arg1
)->base_InitDialog();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 Py_INCREF(Py_None
); resultobj
= Py_None
;
14489 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)(arg1
)->base_TransferDataToWindow();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= PyInt_FromLong((long)result
);
14514 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14516 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= PyInt_FromLong((long)result
);
14539 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (bool)(arg1
)->base_Validate();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= PyInt_FromLong((long)result
);
14564 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= PyInt_FromLong((long)result
);
14589 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14593 PyObject
* obj0
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "self", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= PyInt_FromLong((long)result
);
14614 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14633 wxSize
* resultptr
;
14634 resultptr
= new wxSize((wxSize
&) result
);
14635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14643 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14646 wxWindow
*arg2
= (wxWindow
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self",(char *) "child", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 (arg1
)->base_AddChild(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 Py_INCREF(Py_None
); resultobj
= Py_None
;
14670 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14673 wxWindow
*arg2
= (wxWindow
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self",(char *) "child", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 (arg1
)->base_RemoveChild(arg2
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 Py_INCREF(Py_None
); resultobj
= Py_None
;
14697 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14700 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14702 return Py_BuildValue((char *)"");
14704 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxPrintData
*result
;
14707 char *kwnames
[] = {
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (wxPrintData
*)new wxPrintData();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14726 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)(arg1
)->GetNoCopies();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= PyInt_FromLong((long)result
);
14775 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
14785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (bool)(arg1
)->GetCollate();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= PyInt_FromLong((long)result
);
14800 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= (int)(arg1
)->GetOrientation();
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= PyInt_FromLong((long)result
);
14825 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "self", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (bool)(arg1
)->Ok();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= PyInt_FromLong((long)result
);
14850 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
14865 result
= (wxString
*) &_result_ref
;
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14878 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (bool)(arg1
)->GetColour();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= PyInt_FromLong((long)result
);
14903 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (int)(arg1
)->GetDuplex();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= PyInt_FromLong((long)result
);
14928 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (int)(arg1
)->GetPaperId();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= PyInt_FromLong((long)result
);
14953 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
14968 result
= (wxSize
*) &_result_ref
;
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14981 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14984 wxPrintQuality result
;
14985 PyObject
* obj0
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (arg1
)->GetQuality();
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15000 wxPrintQuality
* resultptr
;
15001 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
15002 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
15010 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "v", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->SetNoCopies(arg2
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self",(char *) "flag", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15047 arg2
= PyInt_AsLong(obj1
) ? true : false;
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 (arg1
)->SetCollate(arg2
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 Py_INCREF(Py_None
); resultobj
= Py_None
;
15063 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15067 PyObject
* obj0
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self",(char *) "orient", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 (arg1
)->SetOrientation(arg2
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 Py_INCREF(Py_None
); resultobj
= Py_None
;
15088 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15091 wxString
*arg2
= 0 ;
15092 bool temp2
= False
;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "name", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15102 arg2
= wxString_in_helper(obj1
);
15103 if (arg2
== NULL
) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15128 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self",(char *) "colour", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15140 arg2
= PyInt_AsLong(obj1
) ? true : false;
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 (arg1
)->SetColour(arg2
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15149 Py_INCREF(Py_None
); resultobj
= Py_None
;
15156 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15160 PyObject
* obj0
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "duplex", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 Py_INCREF(Py_None
); resultobj
= Py_None
;
15181 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self",(char *) "sizeId", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 Py_INCREF(Py_None
); resultobj
= Py_None
;
15206 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self",(char *) "sz", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15221 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 Py_INCREF(Py_None
); resultobj
= Py_None
;
15237 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15240 wxPrintQuality arg2
;
15241 wxPrintQuality
*argp2
;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self",(char *) "quality", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15250 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 (arg1
)->SetQuality(arg2
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 Py_INCREF(Py_None
); resultobj
= Py_None
;
15266 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15281 result
= (wxString
*) &_result_ref
;
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15294 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15309 result
= (wxString
*) &_result_ref
;
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15322 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15337 result
= (wxString
*) &_result_ref
;
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15350 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 wxString
const &_result_ref
= (arg1
)->GetFilename();
15365 result
= (wxString
*) &_result_ref
;
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15378 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15393 result
= (wxString
*) &_result_ref
;
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15406 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (double)(arg1
)->GetPrinterScaleX();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= PyFloat_FromDouble(result
);
15431 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (double)(arg1
)->GetPrinterScaleY();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= PyFloat_FromDouble(result
);
15456 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= (long)(arg1
)->GetPrinterTranslateX();
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= PyInt_FromLong((long)result
);
15481 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (long)(arg1
)->GetPrinterTranslateY();
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= PyInt_FromLong((long)result
);
15506 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "self", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (int)(arg1
)->GetPrintMode();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= PyInt_FromLong((long)result
);
15531 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15534 wxString
*arg2
= 0 ;
15535 bool temp2
= False
;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self",(char *) "command", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15545 arg2
= wxString_in_helper(obj1
);
15546 if (arg2
== NULL
) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15574 wxString
*arg2
= 0 ;
15575 bool temp2
= False
;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "options", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15585 arg2
= wxString_in_helper(obj1
);
15586 if (arg2
== NULL
) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 Py_INCREF(Py_None
); resultobj
= Py_None
;
15611 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15614 wxString
*arg2
= 0 ;
15615 bool temp2
= False
;
15616 PyObject
* obj0
= 0 ;
15617 PyObject
* obj1
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self",(char *) "command", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15625 arg2
= wxString_in_helper(obj1
);
15626 if (arg2
== NULL
) SWIG_fail
;
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15654 wxString
*arg2
= 0 ;
15655 bool temp2
= False
;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self",(char *) "filename", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15665 arg2
= wxString_in_helper(obj1
);
15666 if (arg2
== NULL
) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 (arg1
)->SetFilename((wxString
const &)*arg2
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 Py_INCREF(Py_None
); resultobj
= Py_None
;
15691 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15694 wxString
*arg2
= 0 ;
15695 bool temp2
= False
;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self",(char *) "path", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15705 arg2
= wxString_in_helper(obj1
);
15706 if (arg2
== NULL
) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 Py_INCREF(Py_None
); resultobj
= Py_None
;
15731 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15735 PyObject
* obj0
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self",(char *) "x", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 (arg1
)->SetPrinterScaleX(arg2
);
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 Py_INCREF(Py_None
); resultobj
= Py_None
;
15756 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self",(char *) "y", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 (arg1
)->SetPrinterScaleY(arg2
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 Py_INCREF(Py_None
); resultobj
= Py_None
;
15781 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self",(char *) "x",(char *) "y", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 (arg1
)->SetPrinterScaling(arg2
,arg3
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 Py_INCREF(Py_None
); resultobj
= Py_None
;
15807 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15811 PyObject
* obj0
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self",(char *) "x", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->SetPrinterTranslateX(arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 Py_INCREF(Py_None
); resultobj
= Py_None
;
15832 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "y", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 (arg1
)->SetPrinterTranslateY(arg2
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 Py_INCREF(Py_None
); resultobj
= Py_None
;
15857 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "self",(char *) "x",(char *) "y", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 Py_INCREF(Py_None
); resultobj
= Py_None
;
15883 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self",(char *) "printMode", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 Py_INCREF(Py_None
); resultobj
= Py_None
;
15908 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
15910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15911 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
15913 return Py_BuildValue((char *)"");
15915 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxPageSetupDialogData
*result
;
15918 char *kwnames
[] = {
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
15937 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 Py_INCREF(Py_None
); resultobj
= Py_None
;
15961 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "flag", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15973 arg2
= PyInt_AsLong(obj1
) ? true : false;
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 (arg1
)->EnableHelp(arg2
);
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 Py_INCREF(Py_None
); resultobj
= Py_None
;
15989 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "flag", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16001 arg2
= PyInt_AsLong(obj1
) ? true : false;
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 (arg1
)->EnableMargins(arg2
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16021 PyObject
* obj0
= 0 ;
16022 PyObject
* obj1
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self",(char *) "flag", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16029 arg2
= PyInt_AsLong(obj1
) ? true : false;
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 (arg1
)->EnableOrientation(arg2
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "flag", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16057 arg2
= PyInt_AsLong(obj1
) ? true : false;
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 (arg1
)->EnablePaper(arg2
);
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16066 Py_INCREF(Py_None
); resultobj
= Py_None
;
16073 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self",(char *) "flag", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16085 arg2
= PyInt_AsLong(obj1
) ? true : false;
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 (arg1
)->EnablePrinter(arg2
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 Py_INCREF(Py_None
); resultobj
= Py_None
;
16101 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (bool)(arg1
)->GetDefaultMinMargins();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= PyInt_FromLong((long)result
);
16126 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (bool)(arg1
)->GetEnableMargins();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= PyInt_FromLong((long)result
);
16151 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)(arg1
)->GetEnableOrientation();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= PyInt_FromLong((long)result
);
16176 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (bool)(arg1
)->GetEnablePaper();
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= PyInt_FromLong((long)result
);
16201 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (bool)(arg1
)->GetEnablePrinter();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= PyInt_FromLong((long)result
);
16226 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (bool)(arg1
)->GetEnableHelp();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= PyInt_FromLong((long)result
);
16251 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (bool)(arg1
)->GetDefaultInfo();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= PyInt_FromLong((long)result
);
16276 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (arg1
)->GetMarginTopLeft();
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16295 wxPoint
* resultptr
;
16296 resultptr
= new wxPoint((wxPoint
&) result
);
16297 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16305 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (arg1
)->GetMarginBottomRight();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 wxPoint
* resultptr
;
16325 resultptr
= new wxPoint((wxPoint
&) result
);
16326 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16334 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (arg1
)->GetMinMarginTopLeft();
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 wxPoint
* resultptr
;
16354 resultptr
= new wxPoint((wxPoint
&) result
);
16355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16363 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 result
= (arg1
)->GetMinMarginBottomRight();
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16382 wxPoint
* resultptr
;
16383 resultptr
= new wxPoint((wxPoint
&) result
);
16384 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16392 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (int)(arg1
)->GetPaperId();
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= PyInt_FromLong((long)result
);
16417 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (arg1
)->GetPaperSize();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 wxSize
* resultptr
;
16437 resultptr
= new wxSize((wxSize
&) result
);
16438 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16446 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16449 wxPrintData
*result
;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16461 result
= (wxPrintData
*) &_result_ref
;
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16474 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (bool)(arg1
)->Ok();
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= PyInt_FromLong((long)result
);
16499 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "flag", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16511 arg2
= PyInt_AsLong(obj1
) ? true : false;
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->SetDefaultInfo(arg2
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self",(char *) "flag", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16539 arg2
= PyInt_AsLong(obj1
) ? true : false;
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 (arg1
)->SetDefaultMinMargins(arg2
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 Py_INCREF(Py_None
); resultobj
= Py_None
;
16555 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16558 wxPoint
*arg2
= 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self",(char *) "pt", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 Py_INCREF(Py_None
); resultobj
= Py_None
;
16586 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16589 wxPoint
*arg2
= 0 ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self",(char *) "pt", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 Py_INCREF(Py_None
); resultobj
= Py_None
;
16617 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16620 wxPoint
*arg2
= 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self",(char *) "pt", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16648 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16651 wxPoint
*arg2
= 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "pt", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16663 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 Py_INCREF(Py_None
); resultobj
= Py_None
;
16679 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "id", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self",(char *) "size", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 Py_INCREF(Py_None
); resultobj
= Py_None
;
16735 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16738 wxPrintData
*arg2
= 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self",(char *) "printData", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16748 if (arg2
== NULL
) {
16749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 Py_INCREF(Py_None
); resultobj
= Py_None
;
16765 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
16767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16768 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
16770 return Py_BuildValue((char *)"");
16772 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxWindow
*arg1
= (wxWindow
*) 0 ;
16775 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
16776 wxPageSetupDialog
*result
;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "parent",(char *) "data", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
16802 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16805 wxPageSetupDialogData
*result
;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
16817 result
= (wxPageSetupDialogData
*) &_result_ref
;
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
16830 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
16840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (int)(arg1
)->ShowModal();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= PyInt_FromLong((long)result
);
16855 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
16857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16858 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
16860 return Py_BuildValue((char *)"");
16862 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxPrintDialogData
*result
;
16865 char *kwnames
[] = {
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (wxPrintDialogData
*)new wxPrintDialogData();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
16884 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
16893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 Py_INCREF(Py_None
); resultobj
= Py_None
;
16908 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= PyInt_FromLong((long)result
);
16933 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16937 PyObject
* obj0
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= PyInt_FromLong((long)result
);
16958 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
16968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= PyInt_FromLong((long)result
);
16983 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16987 PyObject
* obj0
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= PyInt_FromLong((long)result
);
17008 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= PyInt_FromLong((long)result
);
17033 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17037 PyObject
* obj0
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17051 resultobj
= PyInt_FromLong((long)result
);
17058 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= PyInt_FromLong((long)result
);
17083 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= PyInt_FromLong((long)result
);
17108 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= PyInt_FromLong((long)result
);
17133 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= PyInt_FromLong((long)result
);
17158 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self",(char *) "v", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 (arg1
)->SetFromPage(arg2
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 Py_INCREF(Py_None
); resultobj
= Py_None
;
17183 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "v", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 (arg1
)->SetToPage(arg2
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 Py_INCREF(Py_None
); resultobj
= Py_None
;
17208 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17212 PyObject
* obj0
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self",(char *) "v", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->SetMinPage(arg2
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 Py_INCREF(Py_None
); resultobj
= Py_None
;
17233 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "v", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 (arg1
)->SetMaxPage(arg2
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 Py_INCREF(Py_None
); resultobj
= Py_None
;
17258 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "v", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 (arg1
)->SetNoCopies(arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self",(char *) "flag", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 arg2
= PyInt_AsLong(obj1
) ? true : false;
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->SetAllPages(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "flag", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17323 arg2
= PyInt_AsLong(obj1
) ? true : false;
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->SetSelection(arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "flag", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17351 arg2
= PyInt_AsLong(obj1
) ? true : false;
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 (arg1
)->SetCollate(arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 Py_INCREF(Py_None
); resultobj
= Py_None
;
17367 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "flag", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 arg2
= PyInt_AsLong(obj1
) ? true : false;
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 (arg1
)->SetPrintToFile(arg2
);
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self",(char *) "flag", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17407 arg2
= PyInt_AsLong(obj1
) ? true : false;
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 (arg1
)->SetSetupDialog(arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 Py_INCREF(Py_None
); resultobj
= Py_None
;
17423 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self",(char *) "flag", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17435 arg2
= PyInt_AsLong(obj1
) ? true : false;
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 (arg1
)->EnablePrintToFile(arg2
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 Py_INCREF(Py_None
); resultobj
= Py_None
;
17451 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "flag", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17463 arg2
= PyInt_AsLong(obj1
) ? true : false;
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->EnableSelection(arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self",(char *) "flag", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 arg2
= PyInt_AsLong(obj1
) ? true : false;
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 (arg1
)->EnablePageNumbers(arg2
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 Py_INCREF(Py_None
); resultobj
= Py_None
;
17507 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "flag", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17519 arg2
= PyInt_AsLong(obj1
) ? true : false;
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 (arg1
)->EnableHelp(arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 Py_INCREF(Py_None
); resultobj
= Py_None
;
17535 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= PyInt_FromLong((long)result
);
17560 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= PyInt_FromLong((long)result
);
17585 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= PyInt_FromLong((long)result
);
17610 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= PyInt_FromLong((long)result
);
17635 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17639 PyObject
* obj0
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= PyInt_FromLong((long)result
);
17660 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17663 wxPrintData
*result
;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17675 result
= (wxPrintData
*) &_result_ref
;
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17688 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17691 wxPrintData
*arg2
= 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "printData", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17701 if (arg2
== NULL
) {
17702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 Py_INCREF(Py_None
); resultobj
= Py_None
;
17718 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17721 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17723 return Py_BuildValue((char *)"");
17725 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxWindow
*arg1
= (wxWindow
*) 0 ;
17728 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17729 wxPrintDialog
*result
;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "parent",(char *) "data", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
17755 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17758 wxPrintDialogData
*result
;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17770 result
= (wxPrintDialogData
*) &_result_ref
;
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17783 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (wxDC
*)(arg1
)->GetPrintDC();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= wxPyMake_wxObject(result
);
17810 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (int)(arg1
)->ShowModal();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= PyInt_FromLong((long)result
);
17835 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17838 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
17840 return Py_BuildValue((char *)"");
17842 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "data", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (wxPrinter
*)new wxPrinter(arg1
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
17869 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17896 wxWindow
*arg2
= (wxWindow
*) 0 ;
17897 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 PyObject
* obj2
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "parent",(char *) "printout", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17908 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 (arg1
)->CreateAbortWindow(arg2
,arg3
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 Py_INCREF(Py_None
); resultobj
= Py_None
;
17923 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17926 wxPrintDialogData
*result
;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17938 result
= (wxPrintDialogData
*) &_result_ref
;
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17951 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17954 wxWindow
*arg2
= (wxWindow
*) 0 ;
17955 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17956 int arg4
= (int) True
;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 PyObject
* obj2
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17968 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= PyInt_FromLong((long)result
);
17983 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17986 wxWindow
*arg2
= (wxWindow
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "parent", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18005 resultobj
= wxPyMake_wxObject(result
);
18013 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18016 wxWindow
*arg2
= (wxWindow
*) 0 ;
18017 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18018 wxString
*arg4
= 0 ;
18019 bool temp4
= False
;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 PyObject
* obj2
= 0 ;
18023 PyObject
* obj3
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18031 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18033 arg4
= wxString_in_helper(obj3
);
18034 if (arg4
== NULL
) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18062 wxWindow
*arg2
= (wxWindow
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "parent", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (bool)(arg1
)->Setup(arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= PyInt_FromLong((long)result
);
18087 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (bool)(arg1
)->GetAbort();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= PyInt_FromLong((long)result
);
18112 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18115 char *kwnames
[] = {
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (int)wxPrinter::GetLastError();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= PyInt_FromLong((long)result
);
18134 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18137 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18139 return Py_BuildValue((char *)"");
18141 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18144 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18145 wxPyPrintout
*result
;
18146 bool temp1
= False
;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "title", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18155 arg1
= wxString_in_helper(obj0
);
18156 if (arg1
== NULL
) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= wxPyMake_wxObject(result
);
18184 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18187 PyObject
*arg2
= (PyObject
*) 0 ;
18188 PyObject
*arg3
= (PyObject
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 PyObject
* obj2
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self",(char *) "self",(char *) "_class", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 Py_INCREF(Py_None
); resultobj
= Py_None
;
18214 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18245 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxDC
*)(arg1
)->GetDC();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= wxPyMake_wxObject(result
);
18272 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18275 wxDC
*arg2
= (wxDC
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self",(char *) "dc", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->SetDC(arg2
);
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 Py_INCREF(Py_None
); resultobj
= Py_None
;
18299 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18302 int *arg2
= (int *) 0 ;
18303 int *arg3
= (int *) 0 ;
18306 PyObject
* obj0
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18325 resultobj
= t_output_helper(resultobj
,o
);
18328 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18329 resultobj
= t_output_helper(resultobj
,o
);
18337 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self",(char *) "w",(char *) "h", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 Py_INCREF(Py_None
); resultobj
= Py_None
;
18363 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self",(char *) "w",(char *) "h", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18392 int *arg2
= (int *) 0 ;
18393 int *arg3
= (int *) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18414 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18415 resultobj
= t_output_helper(resultobj
,o
);
18418 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18419 resultobj
= t_output_helper(resultobj
,o
);
18427 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "x",(char *) "y", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->SetPPIScreen(arg2
,arg3
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18456 int *arg2
= (int *) 0 ;
18457 int *arg3
= (int *) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 (arg1
)->GetPPIScreen(arg2
,arg3
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 Py_INCREF(Py_None
); resultobj
= Py_None
;
18478 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18479 resultobj
= t_output_helper(resultobj
,o
);
18482 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18483 resultobj
= t_output_helper(resultobj
,o
);
18491 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "x",(char *) "y", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 Py_INCREF(Py_None
); resultobj
= Py_None
;
18517 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18520 int *arg2
= (int *) 0 ;
18521 int *arg3
= (int *) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 Py_INCREF(Py_None
); resultobj
= Py_None
;
18542 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18543 resultobj
= t_output_helper(resultobj
,o
);
18546 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18547 resultobj
= t_output_helper(resultobj
,o
);
18555 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (bool)(arg1
)->IsPreview();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= PyInt_FromLong((long)result
);
18580 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "p", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18592 arg2
= PyInt_AsLong(obj1
) ? true : false;
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->SetIsPreview(arg2
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 Py_INCREF(Py_None
); resultobj
= Py_None
;
18608 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= PyInt_FromLong((long)result
);
18635 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->base_OnEndDocument();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 Py_INCREF(Py_None
); resultobj
= Py_None
;
18659 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 (arg1
)->base_OnBeginPrinting();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 Py_INCREF(Py_None
); resultobj
= Py_None
;
18683 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 (arg1
)->base_OnEndPrinting();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18707 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 (arg1
)->base_OnPreparePrinting();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 Py_INCREF(Py_None
); resultobj
= Py_None
;
18731 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18734 int *arg2
= (int *) 0 ;
18735 int *arg3
= (int *) 0 ;
18736 int *arg4
= (int *) 0 ;
18737 int *arg5
= (int *) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
18752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18763 resultobj
= t_output_helper(resultobj
,o
);
18766 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18767 resultobj
= t_output_helper(resultobj
,o
);
18770 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
18771 resultobj
= t_output_helper(resultobj
,o
);
18774 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
18775 resultobj
= t_output_helper(resultobj
,o
);
18783 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self",(char *) "page", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (bool)(arg1
)->base_HasPage(arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= PyInt_FromLong((long)result
);
18809 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
18811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18812 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
18814 return Py_BuildValue((char *)"");
18816 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18819 wxWindow
*arg2
= (wxWindow
*) 0 ;
18820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18824 long arg5
= (long) 0 ;
18825 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
18826 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18827 wxPreviewCanvas
*result
;
18830 bool temp6
= False
;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 PyObject
* obj2
= 0 ;
18834 PyObject
* obj3
= 0 ;
18835 PyObject
* obj5
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18852 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18857 arg6
= wxString_in_helper(obj5
);
18858 if (arg6
== NULL
) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
18884 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
18886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18887 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
18889 return Py_BuildValue((char *)"");
18891 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18894 wxFrame
*arg2
= (wxFrame
*) 0 ;
18895 wxString
*arg3
= 0 ;
18896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18900 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
18901 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
18902 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18903 wxPreviewFrame
*result
;
18904 bool temp3
= False
;
18907 bool temp7
= False
;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 PyObject
* obj2
= 0 ;
18911 PyObject
* obj3
= 0 ;
18912 PyObject
* obj4
= 0 ;
18913 PyObject
* obj6
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18922 arg3
= wxString_in_helper(obj2
);
18923 if (arg3
== NULL
) SWIG_fail
;
18929 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18935 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18940 arg7
= wxString_in_helper(obj6
);
18941 if (arg7
== NULL
) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
18975 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->Initialize();
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 Py_INCREF(Py_None
); resultobj
= Py_None
;
18999 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19002 PyObject
* obj0
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 (arg1
)->CreateControlBar();
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 Py_INCREF(Py_None
); resultobj
= Py_None
;
19023 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 (arg1
)->CreateCanvas();
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 Py_INCREF(Py_None
); resultobj
= Py_None
;
19047 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19050 wxPreviewControlBar
*result
;
19051 PyObject
* obj0
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19072 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19075 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19077 return Py_BuildValue((char *)"");
19079 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19083 wxWindow
*arg3
= (wxWindow
*) 0 ;
19084 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19085 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19086 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19087 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19088 long arg6
= (long) wxTAB_TRAVERSAL
;
19089 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19090 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19091 wxPreviewControlBar
*result
;
19094 bool temp7
= False
;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj2
= 0 ;
19097 PyObject
* obj3
= 0 ;
19098 PyObject
* obj4
= 0 ;
19099 PyObject
* obj6
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19106 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19121 arg7
= wxString_in_helper(obj6
);
19122 if (arg7
== NULL
) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19148 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19152 PyObject
* obj0
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (int)(arg1
)->GetZoomControl();
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= PyInt_FromLong((long)result
);
19173 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self",(char *) "zoom", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetZoomControl(arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19201 wxPrintPreview
*result
;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19223 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 Py_INCREF(Py_None
); resultobj
= Py_None
;
19247 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->OnPrevious();
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19271 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 Py_INCREF(Py_None
); resultobj
= Py_None
;
19319 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 char *kwnames
[] = {
19324 (char *) "self", NULL
19327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19343 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19346 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19348 return Py_BuildValue((char *)"");
19350 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19353 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19354 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19355 wxPrintPreview
*result
;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 PyObject
* obj2
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19367 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19383 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self",(char *) "pageNum", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= PyInt_FromLong((long)result
);
19409 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 result
= (int)(arg1
)->GetCurrentPage();
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 resultobj
= PyInt_FromLong((long)result
);
19434 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19437 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19438 PyObject
* obj0
= 0 ;
19439 PyObject
* obj1
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self",(char *) "printout", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 (arg1
)->SetPrintout(arg2
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 Py_INCREF(Py_None
); resultobj
= Py_None
;
19461 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19464 wxPyPrintout
*result
;
19465 PyObject
* obj0
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= wxPyMake_wxObject(result
);
19488 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19491 wxPyPrintout
*result
;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19507 resultobj
= wxPyMake_wxObject(result
);
19515 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19518 wxFrame
*arg2
= (wxFrame
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 char *kwnames
[] = {
19522 (char *) "self",(char *) "frame", NULL
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 (arg1
)->SetFrame(arg2
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 Py_INCREF(Py_None
); resultobj
= Py_None
;
19542 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19545 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "canvas", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 (arg1
)->SetCanvas(arg2
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 Py_INCREF(Py_None
); resultobj
= Py_None
;
19569 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (wxFrame
*)(arg1
)->GetFrame();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= wxPyMake_wxObject(result
);
19596 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19599 wxPreviewCanvas
*result
;
19600 PyObject
* obj0
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",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 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19621 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
;
19623 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19624 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 PyObject
* obj2
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19637 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19638 if (arg3
== NULL
) {
19639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= PyInt_FromLong((long)result
);
19655 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19658 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 PyObject
* obj2
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19671 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19672 if (arg3
== NULL
) {
19673 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= PyInt_FromLong((long)result
);
19689 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "pageNum", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (bool)(arg1
)->RenderPage(arg2
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= PyInt_FromLong((long)result
);
19715 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19718 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self",(char *) "canvas", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 (arg1
)->AdjustScrollbars(arg2
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 Py_INCREF(Py_None
); resultobj
= Py_None
;
19742 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19745 wxPrintDialogData
*result
;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19757 result
= (wxPrintDialogData
*) &_result_ref
;
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19770 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self",(char *) "percent", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 (arg1
)->SetZoom(arg2
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 Py_INCREF(Py_None
); resultobj
= Py_None
;
19795 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
19805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (int)(arg1
)->GetZoom();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= PyInt_FromLong((long)result
);
19820 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 result
= (int)(arg1
)->GetMaxPage();
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= PyInt_FromLong((long)result
);
19845 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (int)(arg1
)->GetMinPage();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= PyInt_FromLong((long)result
);
19870 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->Ok();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= PyInt_FromLong((long)result
);
19895 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 PyObject
* obj1
= 0 ;
19901 char *kwnames
[] = {
19902 (char *) "self",(char *) "ok", NULL
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
19906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19907 arg2
= PyInt_AsLong(obj1
) ? true : false;
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 (arg1
)->SetOk(arg2
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 Py_INCREF(Py_None
); resultobj
= Py_None
;
19923 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 PyObject
* obj1
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self",(char *) "interactive", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19936 arg2
= PyInt_AsLong(obj1
) ? true : false;
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= (bool)(arg1
)->Print(arg2
);
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= PyInt_FromLong((long)result
);
19952 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 (arg1
)->DetermineScaling();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 Py_INCREF(Py_None
); resultobj
= Py_None
;
19976 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
19978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19979 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
19981 return Py_BuildValue((char *)"");
19983 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19986 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19987 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19988 wxPyPrintPreview
*result
;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 PyObject
* obj2
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20000 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20016 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20019 PyObject
*arg2
= (PyObject
*) 0 ;
20020 PyObject
*arg3
= (PyObject
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 PyObject
* obj1
= 0 ;
20023 PyObject
* obj2
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "self",(char *) "_class", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self",(char *) "pageNum", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= PyInt_FromLong((long)result
);
20072 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20075 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 PyObject
* obj2
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20088 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20089 if (arg3
== NULL
) {
20090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= PyInt_FromLong((long)result
);
20106 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20109 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 PyObject
* obj2
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20122 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20123 if (arg3
== NULL
) {
20124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= PyInt_FromLong((long)result
);
20140 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self",(char *) "pageNum", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= PyInt_FromLong((long)result
);
20166 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "percent", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 (arg1
)->base_SetZoom(arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 Py_INCREF(Py_None
); resultobj
= Py_None
;
20191 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self",(char *) "interactive", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20204 arg2
= PyInt_AsLong(obj1
) ? true : false;
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 result
= (bool)(arg1
)->base_Print(arg2
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 resultobj
= PyInt_FromLong((long)result
);
20220 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->base_DetermineScaling();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 Py_INCREF(Py_None
); resultobj
= Py_None
;
20244 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20247 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20249 return Py_BuildValue((char *)"");
20251 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20254 wxFrame
*arg2
= (wxFrame
*) 0 ;
20255 wxString
*arg3
= 0 ;
20256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20260 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20261 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20263 wxPyPreviewFrame
*result
;
20264 bool temp3
= False
;
20267 bool temp7
= False
;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 PyObject
* obj2
= 0 ;
20271 PyObject
* obj3
= 0 ;
20272 PyObject
* obj4
= 0 ;
20273 PyObject
* obj6
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20282 arg3
= wxString_in_helper(obj2
);
20283 if (arg3
== NULL
) SWIG_fail
;
20289 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20295 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20300 arg7
= wxString_in_helper(obj6
);
20301 if (arg7
== NULL
) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20335 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20338 PyObject
*arg2
= (PyObject
*) 0 ;
20339 PyObject
*arg3
= (PyObject
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 PyObject
* obj2
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self",(char *) "self",(char *) "_class", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20368 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "canvas", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 (arg1
)->SetPreviewCanvas(arg2
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 Py_INCREF(Py_None
); resultobj
= Py_None
;
20392 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
;
20394 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20395 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20396 PyObject
* obj0
= 0 ;
20397 PyObject
* obj1
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self",(char *) "bar", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 (arg1
)->SetControlBar(arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 Py_INCREF(Py_None
); resultobj
= Py_None
;
20419 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->base_Initialize();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 (arg1
)->base_CreateCanvas();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 Py_INCREF(Py_None
); resultobj
= Py_None
;
20467 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 (arg1
)->base_CreateControlBar();
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 Py_INCREF(Py_None
); resultobj
= Py_None
;
20491 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20494 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20496 return Py_BuildValue((char *)"");
20498 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20502 wxWindow
*arg3
= (wxWindow
*) 0 ;
20503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20507 long arg6
= (long) 0 ;
20508 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20510 wxPyPreviewControlBar
*result
;
20513 bool temp7
= False
;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj2
= 0 ;
20516 PyObject
* obj3
= 0 ;
20517 PyObject
* obj4
= 0 ;
20518 PyObject
* obj6
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20525 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20540 arg7
= wxString_in_helper(obj6
);
20541 if (arg7
== NULL
) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20567 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20570 PyObject
*arg2
= (PyObject
*) 0 ;
20571 PyObject
*arg3
= (PyObject
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 PyObject
* obj2
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self",(char *) "self",(char *) "_class", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 Py_INCREF(Py_None
); resultobj
= Py_None
;
20597 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20600 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self",(char *) "preview", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 (arg1
)->SetPrintPreview(arg2
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 Py_INCREF(Py_None
); resultobj
= Py_None
;
20624 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 (arg1
)->base_CreateButtons();
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 Py_INCREF(Py_None
); resultobj
= Py_None
;
20648 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "zoom", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 (arg1
)->base_SetZoomControl(arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 Py_INCREF(Py_None
); resultobj
= Py_None
;
20673 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20676 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20678 return Py_BuildValue((char *)"");
20680 static PyMethodDef SwigMethods
[] = {
20681 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20682 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20683 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20684 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20685 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20686 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20687 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20688 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20689 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20690 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20691 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20692 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20693 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20694 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20695 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20696 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20697 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20698 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20699 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20700 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20701 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20702 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20703 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20704 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20705 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20706 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20707 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20708 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20709 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
20710 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
20711 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
20712 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
20713 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
20714 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20715 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
20716 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
20717 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
20718 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
20719 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
20720 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
20721 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
20722 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
20723 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20724 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20725 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20726 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20727 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20728 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20729 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20730 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20731 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20732 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20733 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20734 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20735 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20736 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20737 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20738 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20739 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20740 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
20741 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
20742 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20743 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20744 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
20745 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20746 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20747 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20748 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20749 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20750 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20751 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20752 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20753 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20754 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20755 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20756 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20757 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
20758 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
20759 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
20760 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
20761 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
20762 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
20763 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20764 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20765 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
20766 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
20767 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
20768 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
20769 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20770 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
20771 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
20772 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
20773 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20774 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20775 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20776 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
20777 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
20778 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20779 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20780 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
20781 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
20782 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
20783 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20784 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
20785 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
20786 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20787 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20788 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
20789 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20790 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20791 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20792 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20793 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20794 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20795 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20796 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
20797 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
20798 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
20799 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
20800 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
20801 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20802 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20803 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20804 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
20805 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
20806 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20807 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20808 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
20809 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
20810 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
20811 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
20812 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
20813 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
20814 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20815 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20816 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20817 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20818 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20819 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20820 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20821 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20822 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20823 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20824 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20825 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20826 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
20827 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
20828 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20829 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20830 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
20831 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
20832 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
20833 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
20834 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20835 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20836 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20837 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20838 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20839 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
20840 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
20841 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
20842 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20843 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20844 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20845 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20846 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20847 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20848 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20849 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20850 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20851 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20852 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20853 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20854 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20855 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20856 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
20857 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
20858 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20859 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20860 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20861 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20862 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20863 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20864 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
20865 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
20866 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20867 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20868 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20869 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20870 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
20871 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
20872 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20873 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20874 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20875 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20876 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
20877 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
20878 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20879 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20880 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
20881 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
20882 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
20883 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20884 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20885 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20886 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20887 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20888 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20889 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
20890 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20891 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
20892 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20893 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20894 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
20895 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
20896 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20897 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
20898 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20899 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20900 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
20901 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20902 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20903 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
20904 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
20905 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
20906 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
20907 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
20908 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20909 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20910 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20911 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20912 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20913 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
20914 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
20915 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
20916 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
20917 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
20918 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
20919 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
20920 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20921 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20922 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20923 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20924 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
20925 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
20926 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
20927 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
20928 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20929 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20930 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20931 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
20932 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20933 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
20934 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
20935 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
20936 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
20937 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
20938 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20939 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20940 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20941 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
20942 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20943 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
20944 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
20945 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
20946 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
20947 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
20948 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20949 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
20950 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20951 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
20952 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20953 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20954 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20955 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20956 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20957 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20958 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
20959 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20960 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
20962 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
20964 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20966 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20968 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20970 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20971 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20972 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
20973 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
20975 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20976 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
20977 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
20978 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20979 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20981 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20982 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20983 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20984 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
20985 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
20986 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20987 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20988 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20989 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20990 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20991 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20992 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
20993 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20994 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20995 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20996 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20997 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20998 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20999 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21000 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21001 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21002 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21003 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21004 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21005 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21006 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21007 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21008 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21009 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21010 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21011 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21012 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21013 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21014 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21015 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21016 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21017 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21018 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21019 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21020 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21021 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21022 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21023 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21024 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21025 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21026 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21027 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21028 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21029 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21030 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21031 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21032 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21033 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21034 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21035 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21036 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21037 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21038 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21039 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21040 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21041 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21042 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21043 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21044 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21045 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21048 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21049 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21050 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21051 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21053 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21054 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21055 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21057 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21060 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21063 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21064 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21065 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21069 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21072 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21081 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21088 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21092 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21113 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21134 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21178 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21210 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21214 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21248 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21253 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21264 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21272 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21287 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21289 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21292 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21293 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21295 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21297 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21298 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21300 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21304 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21305 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21308 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21312 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21320 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21322 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21329 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21331 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21339 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21346 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21347 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21351 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21357 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21359 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21360 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21362 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21365 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21366 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21368 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21369 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21371 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21372 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21374 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21375 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21377 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21378 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21380 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21381 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21383 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21384 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21386 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21389 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21392 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21393 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21395 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21398 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21399 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21401 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21402 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21404 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21407 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21408 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21410 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21411 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21413 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21414 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21416 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21417 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21419 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21420 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21422 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21423 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21425 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21426 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21428 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21429 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21431 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21432 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21434 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21435 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21437 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21438 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21440 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21441 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21443 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21444 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21446 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21447 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21449 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21450 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21452 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21455 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21458 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21459 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21461 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21462 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21464 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21465 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21467 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21468 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21470 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21473 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21474 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21476 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21477 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21479 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21480 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21482 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21483 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21485 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21486 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21488 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21491 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21494 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21497 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21498 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21500 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21501 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21503 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21504 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21506 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21507 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21509 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21512 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21515 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21518 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21521 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21524 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21527 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21530 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21533 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21534 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21536 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21539 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
21542 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21545 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21548 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21551 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21552 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21554 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21555 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21557 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21558 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21560 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21561 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21563 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21566 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21567 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21569 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21570 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21572 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21573 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21575 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21578 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21581 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21584 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21585 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21587 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21590 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21591 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21593 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21596 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21599 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21602 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21605 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21608 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21609 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21611 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21614 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21617 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21620 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21623 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21626 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21629 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21632 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21635 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21636 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21638 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21639 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21641 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21642 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21644 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
21645 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
21647 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21648 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21650 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21651 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21653 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21654 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21656 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21657 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21659 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21660 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21662 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21663 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21665 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21666 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21668 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21671 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21674 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21675 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21677 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21678 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21680 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21683 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21684 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21686 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21687 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21689 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21690 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21692 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21693 return (void *)((wxObject
*) ((wxSizer
*) x
));
21695 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21696 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21698 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21701 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21704 static void *_p_wxEventTo_p_wxObject(void *x
) {
21705 return (void *)((wxObject
*) ((wxEvent
*) x
));
21707 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21708 return (void *)((wxObject
*) ((wxFontData
*) x
));
21710 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21711 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21713 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21714 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21716 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21717 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21719 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21720 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21722 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21723 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21725 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21726 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21728 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21731 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21732 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21734 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21735 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21737 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21738 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21740 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21741 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21743 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21744 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21746 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21747 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21749 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21752 static void *_p_wxControlTo_p_wxObject(void *x
) {
21753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21755 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21756 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21758 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21761 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21762 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21764 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21765 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21767 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21768 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21770 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21773 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21774 return (void *)((wxObject
*) ((wxColourData
*) x
));
21776 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21777 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21779 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21780 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21782 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21785 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21788 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21791 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21794 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21797 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21800 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21803 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21806 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21809 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21810 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21812 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21813 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21815 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21816 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21818 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21819 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21821 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21824 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21825 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21827 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21828 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21830 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21831 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21833 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21834 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21836 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21837 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21839 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21840 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21842 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21843 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21845 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21846 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21848 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21849 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21851 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21852 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21854 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21857 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21860 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21861 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21863 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21864 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21866 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21867 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21869 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21870 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21872 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21873 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21875 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21878 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21879 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21881 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21882 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21884 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21887 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21890 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21891 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21893 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21896 static void *_p_wxImageTo_p_wxObject(void *x
) {
21897 return (void *)((wxObject
*) ((wxImage
*) x
));
21899 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21902 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21903 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21905 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21906 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21908 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21909 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21911 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21914 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21917 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21920 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21921 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21923 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21924 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21926 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21929 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21930 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21932 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21933 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21935 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21938 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21941 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21944 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21947 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21950 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21953 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21956 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21959 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
21962 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21965 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21968 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21971 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21972 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21974 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21975 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21977 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21980 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21983 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21986 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21989 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21992 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21995 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21998 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21999 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22001 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22004 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22005 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22007 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22010 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22011 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22013 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22014 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22016 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22017 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22019 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22022 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22023 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22025 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22028 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22031 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22032 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22034 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22035 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22037 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22040 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22043 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22044 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22046 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22047 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22049 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22052 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22053 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22055 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22056 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22058 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22059 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22061 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22062 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22064 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22065 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22067 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22068 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22070 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22071 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22073 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22074 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22076 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22077 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22079 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22080 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22082 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22083 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22085 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22086 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22088 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22089 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22091 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22092 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22094 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
22095 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
22097 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22098 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22100 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22101 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22103 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22104 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22106 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22107 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22109 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22110 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22112 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22113 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22115 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22116 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22118 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22119 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22121 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22122 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22124 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22125 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22127 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22128 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22130 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22131 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22133 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22136 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22137 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22139 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22140 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22142 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22145 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22148 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22149 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22151 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22152 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22154 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22155 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22157 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22158 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22160 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22161 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22163 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22164 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22166 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22167 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22169 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22170 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22172 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22173 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22175 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
22178 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22179 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22181 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22182 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22184 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22185 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22187 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22188 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22190 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22191 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22193 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22194 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22196 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22197 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22199 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22200 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22202 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22203 return (void *)((wxWindow
*) ((wxControl
*) x
));
22205 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22206 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22208 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22209 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22211 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22212 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22214 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22215 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22217 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22218 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22220 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22221 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22223 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22224 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22226 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22227 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22229 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22230 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22232 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22233 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22235 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22236 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22238 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22241 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22242 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22244 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22245 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22247 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22248 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22250 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22251 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22253 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22254 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22256 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22257 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22259 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22260 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22262 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22263 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22265 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22266 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22268 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22269 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22271 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22272 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22274 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22275 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22277 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22278 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22280 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22281 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22283 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22284 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22286 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22287 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22289 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22290 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22292 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22293 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22295 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22296 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22298 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22299 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22301 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22302 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22304 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22305 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22307 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22308 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22310 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22311 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22313 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22314 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22316 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22317 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22319 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22320 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22322 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22323 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22325 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22326 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22328 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22329 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22331 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22332 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22334 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22335 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22337 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22338 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22340 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22341 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22343 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22344 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22346 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22347 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22349 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22350 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22352 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22353 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22355 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22356 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22358 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22359 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22360 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22361 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22362 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22363 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22364 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22365 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22366 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}};
22367 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22368 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22369 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22370 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22371 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22372 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22373 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22374 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22375 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22376 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22377 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22378 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22379 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22380 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22381 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22382 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22383 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22384 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22385 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22386 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22387 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22388 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22389 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22390 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22391 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22392 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22393 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22394 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22395 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}};
22396 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22397 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22398 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22399 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22400 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22401 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22402 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}};
22403 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22404 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22405 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22406 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22407 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22408 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22409 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}};
22410 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22411 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22412 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22413 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22414 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22415 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22416 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22417 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}};
22418 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{0}};
22419 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22420 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}};
22421 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}};
22422 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22423 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22424 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22425 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22426 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22427 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22428 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22429 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22430 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22431 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}};
22432 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}};
22433 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22434 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22435 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22436 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}};
22437 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22438 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22439 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22440 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22441 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22442 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22443 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22445 static swig_type_info
*swig_types_initial
[] = {
22446 _swigt__p_wxQueryLayoutInfoEvent
,
22447 _swigt__p_wxPreviewFrame
,
22448 _swigt__p_wxPyPreviewFrame
,
22449 _swigt__p_wxAcceleratorEntry
,
22450 _swigt__p_wxPyPanel
,
22452 _swigt__p_wxPrintData
,
22453 _swigt__p_wxFontData
,
22455 _swigt__p_wxTaskBarIcon
,
22456 _swigt__p_wxIconBundle
,
22457 _swigt__p_wxLayoutAlgorithm
,
22458 _swigt__p_wxFindDialogEvent
,
22459 _swigt__p_wxPreviewCanvas
,
22461 _swigt__p_wxSplitterEvent
,
22462 _swigt__p_wxRegion
,
22463 _swigt__p_wxFindReplaceData
,
22468 _swigt__p_wxMDIChildFrame
,
22469 _swigt__p_wxColourData
,
22470 _swigt__p_wxNotifyEvent
,
22471 _swigt__p_wxPyWindow
,
22472 _swigt__p_wxSplashScreen
,
22473 _swigt__p_wxFindReplaceDialog
,
22474 _swigt__p_wxProgressDialog
,
22475 _swigt__p_wxMessageDialog
,
22476 _swigt__p_wxTextEntryDialog
,
22477 _swigt__p_wxSingleChoiceDialog
,
22478 _swigt__p_wxMultiChoiceDialog
,
22479 _swigt__p_wxFileDialog
,
22480 _swigt__p_wxPrinter
,
22481 _swigt__p_wxMenuItem
,
22482 _swigt__p_wxArrayInt
,
22483 _swigt__p_wxEvtHandler
,
22484 _swigt__p_wxCalculateLayoutEvent
,
22485 _swigt__p_wxPyHtmlListBox
,
22486 _swigt__p_wxPyVListBox
,
22488 _swigt__p_wxAcceleratorTable
,
22489 _swigt__p_wxMiniFrame
,
22491 _swigt__p_wxPyPrintout
,
22492 _swigt__p_wxTaskBarIconEvent
,
22493 _swigt__p_wxScrollWinEvent
,
22494 _swigt__p_wxStatusBar
,
22495 _swigt__p_wxMDIParentFrame
,
22497 _swigt__p_wxObject
,
22498 _swigt__p_unsigned_long
,
22499 _swigt__p_wxMDIClientWindow
,
22500 _swigt__p_wxTipWindow
,
22501 _swigt__p_wxPyPopupTransientWindow
,
22502 _swigt__p_wxSashLayoutWindow
,
22503 _swigt__p_wxSplitterWindow
,
22504 _swigt__p_wxSplashScreenWindow
,
22505 _swigt__p_wxPyVScrolledWindow
,
22506 _swigt__p_wxPopupWindow
,
22507 _swigt__p_wxSashWindow
,
22508 _swigt__p_wxTopLevelWindow
,
22509 _swigt__p_wxWindow
,
22510 _swigt__p_wxScrolledWindow
,
22511 _swigt__p_wxMenuBar
,
22512 _swigt__p_wxPrintPreview
,
22513 _swigt__p_wxSashEvent
,
22514 _swigt__p_wxString
,
22515 _swigt__p_wxPyPrintPreview
,
22516 _swigt__p_wxFontDialog
,
22517 _swigt__p_wxDirDialog
,
22518 _swigt__p_wxColourDialog
,
22519 _swigt__p_wxDialog
,
22521 _swigt__p_wxPageSetupDialog
,
22522 _swigt__p_wxPrintDialog
,
22523 _swigt__p_wxBitmap
,
22524 _swigt__p_wxCommandEvent
,
22525 _swigt__p_wxPrintQuality
,
22526 _swigt__p_wxPreviewControlBar
,
22527 _swigt__p_wxPyPreviewControlBar
,
22528 _swigt__p_wxColour
,
22529 _swigt__p_wxToolBar
,
22530 _swigt__p_wxPageSetupDialogData
,
22531 _swigt__p_wxPrintDialogData
,
22536 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22538 static swig_const_info swig_const_table
[] = {
22539 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22540 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22541 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22542 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22543 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22544 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22545 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22546 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22547 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22548 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22549 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22550 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22551 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22552 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22553 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22554 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22555 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22556 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22557 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22558 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22559 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22560 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22561 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22562 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22563 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22564 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22565 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22566 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22567 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22568 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22569 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22570 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22571 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22572 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22573 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22574 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22575 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22576 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22577 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22578 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22579 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22580 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22581 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22582 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22583 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22584 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22585 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22586 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22587 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22588 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22589 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22590 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22591 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22592 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22593 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22594 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22595 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22596 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22597 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22598 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22599 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22600 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22601 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22602 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22603 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22604 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22605 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22606 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22607 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22608 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22609 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22610 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22611 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22612 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22613 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22614 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22615 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22616 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22617 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22618 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22619 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22620 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22621 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22622 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22623 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22624 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22625 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22626 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22627 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22628 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22629 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22630 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22631 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22632 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22633 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22634 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22635 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22636 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22637 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22638 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22639 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22640 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22641 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22642 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22643 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22644 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22645 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22646 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22647 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22657 SWIGEXPORT(void) SWIG_init(void) {
22658 static PyObject
*SWIG_globals
= 0;
22659 static int typeinit
= 0;
22662 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22663 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22664 d
= PyModule_GetDict(m
);
22667 for (i
= 0; swig_types_initial
[i
]; i
++) {
22668 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22672 SWIG_InstallConstants(d
,swig_const_table
);
22674 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
22675 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
22676 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22677 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22678 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22679 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22680 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22681 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22682 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22684 // Map renamed classes back to their common name for OOR
22685 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22686 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22687 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22689 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22690 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22691 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22692 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22693 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22694 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22695 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22696 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22697 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22698 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22699 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22700 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22702 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");