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_wxSashLayoutWindow swig_types[55]
274 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
275 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
276 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
277 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
278 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
279 #define SWIGTYPE_p_wxSashWindow swig_types[61]
280 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
281 #define SWIGTYPE_p_wxWindow swig_types[63]
282 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
283 #define SWIGTYPE_p_wxMenuBar swig_types[65]
284 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
285 #define SWIGTYPE_p_wxSashEvent swig_types[67]
286 #define SWIGTYPE_p_wxString swig_types[68]
287 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
288 #define SWIGTYPE_p_wxFontDialog swig_types[70]
289 #define SWIGTYPE_p_wxDirDialog swig_types[71]
290 #define SWIGTYPE_p_wxColourDialog swig_types[72]
291 #define SWIGTYPE_p_wxDialog swig_types[73]
292 #define SWIGTYPE_p_wxPanel swig_types[74]
293 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
294 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
295 #define SWIGTYPE_p_wxBitmap swig_types[77]
296 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
297 #define SWIGTYPE_p_wxPrintQuality swig_types[79]
298 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
299 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
300 #define SWIGTYPE_p_wxColour swig_types[82]
301 #define SWIGTYPE_p_wxToolBar swig_types[83]
302 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
303 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
304 static swig_type_info
*swig_types
[87];
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
){
361 return self
->m_modalShowing
;
368 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
370 self
->GetFieldRect(i
, r
);
374 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
375 DECLARE_DEF_STRING(SplitterNameStr
);
378 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
379 DECLARE_DEF_STRING(SashNameStr
);
380 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
381 DECLARE_DEF_STRING(SashLayoutNameStr
);
384 #include <wx/popupwin.h>
387 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
390 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
391 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
392 : wxPopupTransientWindow(parent
, style
) {}
394 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
395 DEC_PYCALLBACK__(OnDismiss
);
396 DEC_PYCALLBACK_BOOL_(CanDismiss
);
401 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
402 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
403 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
406 #include <wx/tipwin.h>
408 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const *text
,int maxLength
,wxRect
*rectBound
){
409 wxString tmp
= *text
;
410 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
413 #include <wx/tipwin.h>
416 #include <wx/vscroll.h>
419 class wxPyVScrolledWindow
: public wxVScrolledWindow
421 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
423 wxPyVScrolledWindow() : wxVScrolledWindow() {}
425 wxPyVScrolledWindow(wxWindow
*parent
,
426 wxWindowID id
= wxID_ANY
,
427 const wxPoint
& pos
= wxDefaultPosition
,
428 const wxSize
& size
= wxDefaultSize
,
430 const wxString
& name
= wxPyPanelNameStr
)
431 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
434 // Overridable virtuals
436 // this function must be overridden in the derived class and it should
437 // return the height of the given line in pixels
438 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
441 // this function doesn't have to be overridden but it may be useful to do
442 // it if calculating the lines heights is a relatively expensive operation
443 // as it gives the user code a possibility to calculate several of them at
446 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
447 // shouldn't rely on the latter being called for all lines in the interval
448 // specified here. It is also possible that OnGetLineHeight() will be
449 // called for the lines outside of this interval, so this is really just a
450 // hint, not a promise.
452 // finally note that lineMin is inclusive, while lineMax is exclusive, as
454 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
457 // when the number of lines changes, we try to estimate the total height
458 // of all lines which is a rather expensive operation in terms of lines
459 // access, so if the user code may estimate the average height
460 // better/faster than we do, it should override this function to implement
463 // this function should return the best guess for the total height it may
465 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
468 // Also expose some other interesting protected methods
471 // find the index of the line we need to show at the top of the window such
472 // that the last (fully or partially) visible line is the given one
473 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
474 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
476 // get the total height of the lines between lineMin (inclusive) and
477 // lineMax (exclusive)
478 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
479 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
485 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
487 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
488 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
489 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
492 #include <wx/vlbox.h>
493 DECLARE_DEF_STRING(VListBoxNameStr
);
496 class wxPyVListBox
: public wxVListBox
498 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
500 wxPyVListBox() : wxVListBox() {}
502 wxPyVListBox(wxWindow
*parent
,
503 wxWindowID id
= wxID_ANY
,
504 const wxPoint
& pos
= wxDefaultPosition
,
505 const wxSize
& size
= wxDefaultSize
,
507 const wxString
& name
= wxPyVListBoxNameStr
)
508 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
511 // Overridable virtuals
513 // the derived class must implement this function to actually draw the item
514 // with the given index on the provided DC
515 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
516 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
519 // the derived class must implement this method to return the height of the
521 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
522 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
525 // this method may be used to draw separators between the lines; note that
526 // the rectangle may be modified, typically to deflate it a bit before
527 // passing to OnDrawItem()
529 // the base class version doesn't do anything
530 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
531 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
534 // this method is used to draw the items background and, maybe, a border
537 // the base class version implements a reasonable default behaviour which
538 // consists in drawing the selected item with the standard background
539 // colour and drawing a border around the item if it is either selected or
541 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
542 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
548 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
550 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
551 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
552 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
553 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
557 #include <wx/htmllbox.h>
560 class wxPyHtmlListBox
: public wxHtmlListBox
562 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
564 wxPyHtmlListBox() : wxHtmlListBox() {}
566 wxPyHtmlListBox(wxWindow
*parent
,
567 wxWindowID id
= wxID_ANY
,
568 const wxPoint
& pos
= wxDefaultPosition
,
569 const wxSize
& size
= wxDefaultSize
,
571 const wxString
& name
= wxPyVListBoxNameStr
)
572 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
575 // Overridable virtuals
577 // this method must be implemented in the derived class and should return
578 // the body (i.e. without <html>) of the HTML for the given item
579 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
581 // this function may be overridden to decorate HTML returned by OnGetItem()
582 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
585 // // this method allows to customize the selection appearance: it may be used
586 // // to specify the colour of the text which normally has the given colour
587 // // colFg when it is inside the selection
589 // // by default, the original colour is not used at all and all text has the
590 // // same (default for this system) colour inside selection
591 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
593 // // this is the same as GetSelectedTextColour() but allows to customize the
594 // // background colour -- this is even more rarely used as you can change it
595 // // globally using SetSelectionBackground()
596 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
603 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
605 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
606 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
613 // implement dummy classes and such for wxMac
615 class wxTaskBarIcon
: public wxEvtHandler
618 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError
); }
622 class wxTaskBarIconEvent
: public wxEvent
625 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
626 { PyErr_SetNone(PyExc_NotImplementedError
); }
627 virtual wxEvent
* Clone() const { return NULL
; }
631 wxEVT_TASKBAR_MOVE
= 0,
632 wxEVT_TASKBAR_LEFT_DOWN
= 0,
633 wxEVT_TASKBAR_LEFT_UP
= 0,
634 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
635 wxEVT_TASKBAR_RIGHT_UP
= 0,
636 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
637 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
643 DECLARE_DEF_STRING(FileSelectorPromptStr
);
644 DECLARE_DEF_STRING(DirSelectorPromptStr
);
645 DECLARE_DEF_STRING(DirDialogNameStr
);
646 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
647 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
648 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
651 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
653 self
->GetFilenames(arr
);
654 return wxArrayString2PyList_helper(arr
);
656 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
659 return wxArrayString2PyList_helper(arr
);
661 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
662 return wxArrayInt2PyList_helper(self
->GetSelections());
664 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
665 return new wxSingleChoiceDialog(parent
, message
, caption
,
666 choices
, choices_array
, NULL
, style
, pos
);
671 // C++ version of Python aware wxWindow
672 class wxPyWindow
: public wxWindow
674 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
676 wxPyWindow() : wxWindow() {}
677 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
678 const wxPoint
& pos
= wxDefaultPosition
,
679 const wxSize
& size
= wxDefaultSize
,
681 const wxString
& name
= wxPyPanelNameStr
)
682 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
685 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
686 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
687 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
688 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
690 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
691 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
692 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
694 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
695 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
697 DEC_PYCALLBACK__(InitDialog
);
698 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
699 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
700 DEC_PYCALLBACK_BOOL_(Validate
);
702 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
703 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
704 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
706 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
707 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
712 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
714 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
715 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
716 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
717 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
719 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
720 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
721 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
723 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
724 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
726 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
727 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
728 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
729 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
731 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
732 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
733 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
735 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
736 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
739 // C++ version of Python aware wxPanel
740 class wxPyPanel
: public wxPanel
742 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
744 wxPyPanel() : wxPanel() {}
745 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
746 const wxPoint
& pos
= wxDefaultPosition
,
747 const wxSize
& size
= wxDefaultSize
,
749 const wxString
& name
= wxPyPanelNameStr
)
750 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
753 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
754 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
755 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
756 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
758 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
759 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
760 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
762 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
763 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
765 DEC_PYCALLBACK__(InitDialog
);
766 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
767 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
768 DEC_PYCALLBACK_BOOL_(Validate
);
770 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
771 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
772 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
774 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
775 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
780 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
782 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
783 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
784 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
785 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
787 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
788 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
789 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
791 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
792 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
794 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
795 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
796 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
797 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
799 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
800 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
801 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
803 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
804 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
808 #include "wx/wxPython/printfw.h"
810 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
811 DECLARE_DEF_STRING(PrintoutTitleStr
);
812 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
813 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
819 // Since this one would be tough and ugly to do with the Macros...
820 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
824 wxPyBeginBlockThreads();
825 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
826 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
827 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
830 val
= PyTuple_GetItem(result
, 0);
831 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
834 val
= PyTuple_GetItem(result
, 1);
835 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
838 val
= PyTuple_GetItem(result
, 2);
839 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
842 val
= PyTuple_GetItem(result
, 3);
843 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
850 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
855 wxPyEndBlockThreads();
857 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
860 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
861 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
865 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
866 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
867 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
868 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
869 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
870 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
871 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
877 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
878 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
879 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
882 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
883 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
886 wxPyBeginBlockThreads(); \
887 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
888 PyObject* win = wxPyMake_wxObject(a); \
889 PyObject* dc = wxPyMake_wxObject(&b); \
890 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
894 wxPyEndBlockThreads(); \
896 rval = PCLASS::CBNAME(a, b); \
899 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
900 return PCLASS::CBNAME(a, b); \
906 class wxPyPrintPreview
: public wxPrintPreview
908 DECLARE_CLASS(wxPyPrintPreview
)
910 wxPyPrintPreview(wxPyPrintout
* printout
,
911 wxPyPrintout
* printoutForPrinting
,
912 wxPrintData
* data
=NULL
)
913 : wxPrintPreview(printout
, printoutForPrinting
, data
)
916 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
917 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
918 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
919 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
920 DEC_PYCALLBACK_VOID_INT(SetZoom
);
921 DEC_PYCALLBACK_BOOL_BOOL(Print
);
922 DEC_PYCALLBACK_VOID_(DetermineScaling
);
927 // Stupid renamed classes... Fix this in 2.5...
928 #if defined(__WXMSW__)
929 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
930 #elif defined(__WXMAC__)
931 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
933 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
936 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
937 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
938 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
939 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
940 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
941 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
942 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
945 class wxPyPreviewFrame
: public wxPreviewFrame
947 DECLARE_CLASS(wxPyPreviewFrame
);
949 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
950 const wxString
& title
,
951 const wxPoint
& pos
= wxDefaultPosition
,
952 const wxSize
& size
= wxDefaultSize
,
953 long style
= wxDEFAULT_FRAME_STYLE
,
954 const wxString
& name
= wxPyFrameNameStr
)
955 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
958 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
959 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
961 DEC_PYCALLBACK_VOID_(Initialize
);
962 DEC_PYCALLBACK_VOID_(CreateCanvas
);
963 DEC_PYCALLBACK_VOID_(CreateControlBar
);
968 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
970 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
971 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
972 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
975 class wxPyPreviewControlBar
: public wxPreviewControlBar
977 DECLARE_CLASS(wxPyPreviewControlBar
);
979 wxPyPreviewControlBar(wxPrintPreview
*preview
,
982 const wxPoint
& pos
= wxDefaultPosition
,
983 const wxSize
& size
= wxDefaultSize
,
985 const wxString
& name
= wxPyPanelNameStr
)
986 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
989 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
991 DEC_PYCALLBACK_VOID_(CreateButtons
);
992 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
997 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
998 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
999 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1004 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
*resultobj
;
1006 wxWindow
*arg1
= (wxWindow
*) 0 ;
1007 int arg2
= (int) (int)-1 ;
1008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1012 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1013 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1014 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1018 bool temp6
= False
;
1019 PyObject
* obj0
= 0 ;
1020 PyObject
* obj2
= 0 ;
1021 PyObject
* obj3
= 0 ;
1022 PyObject
* obj5
= 0 ;
1024 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1032 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1038 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1043 arg6
= wxString_in_helper(obj5
);
1044 if (arg6
== NULL
) SWIG_fail
;
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) SWIG_fail
;
1055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1070 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
*resultobj
;
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1080 result
= (wxPanel
*)new wxPanel();
1082 wxPyEndAllowThreads(__tstate
);
1083 if (PyErr_Occurred()) SWIG_fail
;
1085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1092 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
*resultobj
;
1094 wxPanel
*arg1
= (wxPanel
*) 0 ;
1095 wxWindow
*arg2
= (wxWindow
*) 0 ;
1097 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1098 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1099 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1100 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1101 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1102 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1103 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1107 bool temp7
= False
;
1108 PyObject
* obj0
= 0 ;
1109 PyObject
* obj1
= 0 ;
1110 PyObject
* obj3
= 0 ;
1111 PyObject
* obj4
= 0 ;
1112 PyObject
* obj6
= 0 ;
1114 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1134 arg7
= wxString_in_helper(obj6
);
1135 if (arg7
== NULL
) SWIG_fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1146 resultobj
= PyInt_FromLong((long)result
);
1161 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
*resultobj
;
1163 wxPanel
*arg1
= (wxPanel
*) 0 ;
1164 PyObject
* obj0
= 0 ;
1166 (char *) "self", NULL
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 (arg1
)->InitDialog();
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) SWIG_fail
;
1178 Py_INCREF(Py_None
); resultobj
= Py_None
;
1185 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1188 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1190 return Py_BuildValue((char *)"");
1192 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1194 wxWindow
*arg1
= (wxWindow
*) 0 ;
1195 int arg2
= (int) (int)-1 ;
1196 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1197 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1198 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1199 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1200 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1201 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1202 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1203 wxScrolledWindow
*result
;
1206 bool temp6
= False
;
1207 PyObject
* obj0
= 0 ;
1208 PyObject
* obj2
= 0 ;
1209 PyObject
* obj3
= 0 ;
1210 PyObject
* obj5
= 0 ;
1212 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1226 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1231 arg6
= wxString_in_helper(obj5
);
1232 if (arg6
== NULL
) SWIG_fail
;
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1243 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1258 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
*resultobj
;
1260 wxScrolledWindow
*result
;
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1280 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
*resultobj
;
1282 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1283 wxWindow
*arg2
= (wxWindow
*) 0 ;
1284 int arg3
= (int) (int)-1 ;
1285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1289 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1290 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1291 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1295 bool temp7
= False
;
1296 PyObject
* obj0
= 0 ;
1297 PyObject
* obj1
= 0 ;
1298 PyObject
* obj3
= 0 ;
1299 PyObject
* obj4
= 0 ;
1300 PyObject
* obj6
= 0 ;
1302 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1322 arg7
= wxString_in_helper(obj6
);
1323 if (arg7
== NULL
) SWIG_fail
;
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1334 resultobj
= PyInt_FromLong((long)result
);
1349 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
*resultobj
;
1351 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1356 int arg6
= (int) 0 ;
1357 int arg7
= (int) 0 ;
1358 bool arg8
= (bool) False
;
1359 PyObject
* obj0
= 0 ;
1360 PyObject
* obj7
= 0 ;
1362 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1368 arg8
= PyInt_AsLong(obj7
) ? true : false;
1369 if (PyErr_Occurred()) SWIG_fail
;
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1378 Py_INCREF(Py_None
); resultobj
= Py_None
;
1385 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1390 PyObject
* obj0
= 0 ;
1392 (char *) "self",(char *) "x",(char *) "y", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 (arg1
)->Scroll(arg2
,arg3
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1404 Py_INCREF(Py_None
); resultobj
= Py_None
;
1411 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
*resultobj
;
1413 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1416 PyObject
* obj0
= 0 ;
1418 (char *) "self",(char *) "orient", NULL
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1430 resultobj
= PyInt_FromLong((long)result
);
1437 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1439 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1456 Py_INCREF(Py_None
); resultobj
= Py_None
;
1463 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1465 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1468 PyObject
* obj0
= 0 ;
1470 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 (arg1
)->SetScrollRate(arg2
,arg3
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 Py_INCREF(Py_None
); resultobj
= Py_None
;
1489 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
*resultobj
;
1491 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1492 int *arg2
= (int *) 0 ;
1493 int *arg3
= (int *) 0 ;
1496 PyObject
* obj0
= 0 ;
1498 (char *) "self", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 Py_INCREF(Py_None
); resultobj
= Py_None
;
1514 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1515 resultobj
= t_output_helper(resultobj
,o
);
1518 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1519 resultobj
= t_output_helper(resultobj
,o
);
1527 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1532 PyObject
* obj0
= 0 ;
1533 PyObject
* obj1
= 0 ;
1534 PyObject
* obj2
= 0 ;
1536 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1541 arg2
= PyInt_AsLong(obj1
) ? true : false;
1542 if (PyErr_Occurred()) SWIG_fail
;
1543 arg3
= PyInt_AsLong(obj2
) ? true : false;
1544 if (PyErr_Occurred()) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 (arg1
)->EnableScrolling(arg2
,arg3
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 Py_INCREF(Py_None
); resultobj
= Py_None
;
1559 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1562 int *arg2
= (int *) 0 ;
1563 int *arg3
= (int *) 0 ;
1566 PyObject
* obj0
= 0 ;
1568 (char *) "self", NULL
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 Py_INCREF(Py_None
); resultobj
= Py_None
;
1584 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1585 resultobj
= t_output_helper(resultobj
,o
);
1588 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1589 resultobj
= t_output_helper(resultobj
,o
);
1597 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1602 PyObject
* obj0
= 0 ;
1604 (char *) "self",(char *) "xs",(char *) "ys", NULL
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 (arg1
)->SetScale(arg2
,arg3
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1616 Py_INCREF(Py_None
); resultobj
= Py_None
;
1623 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1625 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1627 PyObject
* obj0
= 0 ;
1629 (char *) "self", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 resultobj
= PyFloat_FromDouble(result
);
1648 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1652 PyObject
* obj0
= 0 ;
1654 (char *) "self", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 resultobj
= PyFloat_FromDouble(result
);
1673 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1674 PyObject
*resultobj
;
1675 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1682 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1696 wxPoint
* resultptr
;
1697 resultptr
= new wxPoint((wxPoint
&) result
);
1698 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1706 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1707 PyObject
*resultobj
;
1708 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1711 int *arg4
= (int *) 0 ;
1712 int *arg5
= (int *) 0 ;
1715 PyObject
* obj0
= 0 ;
1719 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1728 Py_INCREF(Py_None
); resultobj
= Py_None
;
1730 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1731 resultobj
= t_output_helper(resultobj
,o
);
1734 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1735 resultobj
= t_output_helper(resultobj
,o
);
1743 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1748 argc
= PyObject_Length(args
);
1749 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1750 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1756 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1765 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1768 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1776 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1785 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1789 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1792 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1798 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1803 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1804 PyObject
*resultobj
;
1805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1812 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1826 wxPoint
* resultptr
;
1827 resultptr
= new wxPoint((wxPoint
&) result
);
1828 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1836 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1837 PyObject
*resultobj
;
1838 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1841 int *arg4
= (int *) 0 ;
1842 int *arg5
= (int *) 0 ;
1845 PyObject
* obj0
= 0 ;
1849 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1861 resultobj
= t_output_helper(resultobj
,o
);
1864 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1865 resultobj
= t_output_helper(resultobj
,o
);
1873 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1878 argc
= PyObject_Length(args
);
1879 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1880 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1886 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1895 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1898 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1906 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1915 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1919 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1922 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1928 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1933 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 (arg1
)->AdjustScrollbars();
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1960 wxScrollWinEvent
*arg2
= 0 ;
1962 PyObject
* obj0
= 0 ;
1963 PyObject
* obj1
= 0 ;
1965 (char *) "self",(char *) "event", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 resultobj
= PyInt_FromLong((long)result
);
1988 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1991 wxWindow
*arg2
= (wxWindow
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1993 PyObject
* obj1
= 0 ;
1995 (char *) "self",(char *) "target", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 (arg1
)->SetTargetWindow(arg2
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 Py_INCREF(Py_None
); resultobj
= Py_None
;
2015 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2017 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2019 PyObject
* obj0
= 0 ;
2021 (char *) "self", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2034 resultobj
= wxPyMake_wxObject(result
);
2042 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2045 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2047 return Py_BuildValue((char *)"");
2049 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 int arg1
= (int) 0 ;
2052 int arg2
= (int) 0 ;
2053 int arg3
= (int) 0 ;
2054 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
2055 wxAcceleratorEntry
*result
;
2056 PyObject
* obj3
= 0 ;
2058 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
2063 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
2079 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
*resultobj
;
2081 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2082 PyObject
* obj0
= 0 ;
2084 (char *) "self", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2096 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2109 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj4
= 0 ;
2113 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2119 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 Py_INCREF(Py_None
); resultobj
= Py_None
;
2135 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2138 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2142 (char *) "self",(char *) "item", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2150 (arg1
)->SetMenuItem(arg2
);
2152 wxPyEndAllowThreads(__tstate
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2155 Py_INCREF(Py_None
); resultobj
= Py_None
;
2162 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "self", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 resultobj
= wxPyMake_wxObject(result
);
2189 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 (char *) "self", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 result
= (int)(arg1
)->GetFlags();
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= PyInt_FromLong((long)result
);
2214 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "self", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 result
= (int)(arg1
)->GetKeyCode();
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= PyInt_FromLong((long)result
);
2239 static PyObject
*_wrap_AcceleratorEntry_GetCommand(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_GetCommand",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
)->GetCommand();
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= PyInt_FromLong((long)result
);
2264 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
2266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2267 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
2269 return Py_BuildValue((char *)"");
2271 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2274 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
2275 wxAcceleratorTable
*result
;
2276 PyObject
* obj0
= 0 ;
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2283 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
2284 if (arg2
) arg1
= PyList_Size(obj0
);
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
2307 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "self", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 Py_INCREF(Py_None
); resultobj
= Py_None
;
2331 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
2335 PyObject
* obj0
= 0 ;
2337 (char *) "self", NULL
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
2341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 resultobj
= PyInt_FromLong((long)result
);
2356 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
2358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2359 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
2361 return Py_BuildValue((char *)"");
2363 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
2364 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
2369 static PyObject
*_wrap_NullAcceleratorTable_get() {
2372 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
2377 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxString
*arg1
= 0 ;
2380 wxAcceleratorEntry
*result
;
2381 bool temp1
= False
;
2382 PyObject
* obj0
= 0 ;
2384 (char *) "label", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
2389 arg1
= wxString_in_helper(obj0
);
2390 if (arg1
== NULL
) SWIG_fail
;
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
2415 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2417 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2418 bool arg2
= (bool) True
;
2419 PyObject
* obj0
= 0 ;
2420 PyObject
* obj1
= 0 ;
2422 (char *) "self",(char *) "maximize", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2428 arg2
= PyInt_AsLong(obj1
) ? true : false;
2429 if (PyErr_Occurred()) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 (arg1
)->Maximize(arg2
);
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2438 Py_INCREF(Py_None
); resultobj
= Py_None
;
2445 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
*resultobj
;
2447 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2450 (char *) "self", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 Py_INCREF(Py_None
); resultobj
= Py_None
;
2469 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2472 bool arg2
= (bool) True
;
2473 PyObject
* obj0
= 0 ;
2474 PyObject
* obj1
= 0 ;
2476 (char *) "self",(char *) "iconize", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2482 arg2
= PyInt_AsLong(obj1
) ? true : false;
2483 if (PyErr_Occurred()) SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 (arg1
)->Iconize(arg2
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 Py_INCREF(Py_None
); resultobj
= Py_None
;
2499 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2503 PyObject
* obj0
= 0 ;
2505 (char *) "self", NULL
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= PyInt_FromLong((long)result
);
2524 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2530 (char *) "self", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 resultobj
= PyInt_FromLong((long)result
);
2549 static PyObject
*_wrap_TopLevelWindow_GetIcon(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_GetIcon",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
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2569 resultptr
= new wxIcon((wxIcon
&) result
);
2570 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2578 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2582 PyObject
* obj0
= 0 ;
2583 PyObject
* obj1
= 0 ;
2585 (char *) "self",(char *) "icon", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2601 Py_INCREF(Py_None
); resultobj
= Py_None
;
2608 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2611 wxIconBundle
*arg2
= 0 ;
2612 PyObject
* obj0
= 0 ;
2613 PyObject
* obj1
= 0 ;
2615 (char *) "self",(char *) "icons", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 Py_INCREF(Py_None
); resultobj
= Py_None
;
2638 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2642 long arg3
= (long) wxFULLSCREEN_ALL
;
2644 PyObject
* obj0
= 0 ;
2645 PyObject
* obj1
= 0 ;
2647 (char *) "self",(char *) "show",(char *) "style", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2652 arg2
= PyInt_AsLong(obj1
) ? true : false;
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 resultobj
= PyInt_FromLong((long)result
);
2668 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= PyInt_FromLong((long)result
);
2693 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2696 wxString
*arg2
= 0 ;
2697 bool temp2
= False
;
2698 PyObject
* obj0
= 0 ;
2699 PyObject
* obj1
= 0 ;
2701 (char *) "self",(char *) "title", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2707 arg2
= wxString_in_helper(obj1
);
2708 if (arg2
== NULL
) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 (arg1
)->SetTitle((wxString
const &)*arg2
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2737 PyObject
* obj0
= 0 ;
2739 (char *) "self", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2764 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2767 wxRegion
*arg2
= 0 ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2772 (char *) "self",(char *) "region", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= PyInt_FromLong((long)result
);
2795 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2798 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2800 return Py_BuildValue((char *)"");
2802 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxWindow
*arg1
= (wxWindow
*) 0 ;
2806 wxString
*arg3
= 0 ;
2807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2811 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2812 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2813 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2815 bool temp3
= False
;
2818 bool temp7
= False
;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj2
= 0 ;
2821 PyObject
* obj3
= 0 ;
2822 PyObject
* obj4
= 0 ;
2823 PyObject
* obj6
= 0 ;
2825 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2831 arg3
= wxString_in_helper(obj2
);
2832 if (arg3
== NULL
) SWIG_fail
;
2838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2849 arg7
= wxString_in_helper(obj6
);
2850 if (arg7
== NULL
) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= wxPyMake_wxObject(result
);
2886 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (wxFrame
*)new wxFrame();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= wxPyMake_wxObject(result
);
2910 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxFrame
*arg1
= (wxFrame
*) 0 ;
2913 wxWindow
*arg2
= (wxWindow
*) 0 ;
2915 wxString
*arg4
= 0 ;
2916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2920 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2921 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2924 bool temp4
= False
;
2927 bool temp8
= False
;
2928 PyObject
* obj0
= 0 ;
2929 PyObject
* obj1
= 0 ;
2930 PyObject
* obj3
= 0 ;
2931 PyObject
* obj4
= 0 ;
2932 PyObject
* obj5
= 0 ;
2933 PyObject
* obj7
= 0 ;
2935 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2942 arg4
= wxString_in_helper(obj3
);
2943 if (arg4
== NULL
) SWIG_fail
;
2949 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2955 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2960 arg8
= wxString_in_helper(obj7
);
2961 if (arg8
== NULL
) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2972 resultobj
= PyInt_FromLong((long)result
);
2995 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxFrame
*arg1
= (wxFrame
*) 0 ;
2999 PyObject
* obj0
= 0 ;
3001 (char *) "self", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 wxPoint
* resultptr
;
3015 resultptr
= new wxPoint((wxPoint
&) result
);
3016 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3024 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3026 wxFrame
*arg1
= (wxFrame
*) 0 ;
3027 PyObject
* obj0
= 0 ;
3029 (char *) "self", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 (arg1
)->SendSizeEvent();
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3041 Py_INCREF(Py_None
); resultobj
= Py_None
;
3048 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxFrame
*arg1
= (wxFrame
*) 0 ;
3051 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3055 (char *) "self",(char *) "menubar", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 (arg1
)->SetMenuBar(arg2
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 Py_INCREF(Py_None
); resultobj
= Py_None
;
3075 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxFrame
*arg1
= (wxFrame
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= wxPyMake_wxObject(result
);
3102 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxFrame
*arg1
= (wxFrame
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self",(char *) "winid", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= PyInt_FromLong((long)result
);
3128 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxFrame
*arg1
= (wxFrame
*) 0 ;
3131 int arg2
= (int) 1 ;
3132 long arg3
= (long) wxST_SIZEGRIP
;
3133 int arg4
= (int) 0 ;
3134 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3135 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3136 wxStatusBar
*result
;
3137 bool temp5
= False
;
3138 PyObject
* obj0
= 0 ;
3139 PyObject
* obj4
= 0 ;
3141 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3148 arg5
= wxString_in_helper(obj4
);
3149 if (arg5
== NULL
) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3161 resultobj
= wxPyMake_wxObject(result
);
3177 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxFrame
*arg1
= (wxFrame
*) 0 ;
3180 wxStatusBar
*result
;
3181 PyObject
* obj0
= 0 ;
3183 (char *) "self", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3196 resultobj
= wxPyMake_wxObject(result
);
3204 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxFrame
*arg1
= (wxFrame
*) 0 ;
3207 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3209 PyObject
* obj1
= 0 ;
3211 (char *) "self",(char *) "statBar", NULL
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 (arg1
)->SetStatusBar(arg2
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 Py_INCREF(Py_None
); resultobj
= Py_None
;
3231 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxFrame
*arg1
= (wxFrame
*) 0 ;
3234 wxString
*arg2
= 0 ;
3235 int arg3
= (int) 0 ;
3236 bool temp2
= False
;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "self",(char *) "text",(char *) "number", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3246 arg2
= wxString_in_helper(obj1
);
3247 if (arg2
== NULL
) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3257 Py_INCREF(Py_None
); resultobj
= Py_None
;
3272 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxFrame
*arg1
= (wxFrame
*) 0 ;
3276 int *arg3
= (int *) 0 ;
3277 PyObject
* obj0
= 0 ;
3278 PyObject
* obj1
= 0 ;
3280 (char *) "self",(char *) "widths", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3286 arg2
= PyList_Size(obj1
);
3287 arg3
= int_LIST_helper(obj1
);
3288 if (arg3
== NULL
) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 Py_INCREF(Py_None
); resultobj
= Py_None
;
3299 if (arg3
) delete [] arg3
;
3304 if (arg3
) delete [] arg3
;
3310 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxFrame
*arg1
= (wxFrame
*) 0 ;
3313 wxString
*arg2
= 0 ;
3314 int arg3
= (int) 0 ;
3315 bool temp2
= False
;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3319 (char *) "self",(char *) "text",(char *) "number", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3325 arg2
= wxString_in_helper(obj1
);
3326 if (arg2
== NULL
) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3351 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxFrame
*arg1
= (wxFrame
*) 0 ;
3354 int arg2
= (int) 0 ;
3355 PyObject
* obj0
= 0 ;
3357 (char *) "self",(char *) "number", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 (arg1
)->PopStatusText(arg2
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxFrame
*arg1
= (wxFrame
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3382 (char *) "self",(char *) "n", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 (arg1
)->SetStatusBarPane(arg2
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3394 Py_INCREF(Py_None
); resultobj
= Py_None
;
3401 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxFrame
*arg1
= (wxFrame
*) 0 ;
3405 PyObject
* obj0
= 0 ;
3407 (char *) "self", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= PyInt_FromLong((long)result
);
3426 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxFrame
*arg1
= (wxFrame
*) 0 ;
3429 long arg2
= (long) -1 ;
3430 int arg3
= (int) -1 ;
3431 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3432 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3434 bool temp4
= False
;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj3
= 0 ;
3438 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3445 arg4
= wxString_in_helper(obj3
);
3446 if (arg4
== NULL
) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3458 resultobj
= wxPyMake_wxObject(result
);
3474 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxFrame
*arg1
= (wxFrame
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3480 (char *) "self", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= wxPyMake_wxObject(result
);
3501 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxFrame
*arg1
= (wxFrame
*) 0 ;
3504 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3508 (char *) "self",(char *) "toolbar", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 (arg1
)->SetToolBar(arg2
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxFrame
*arg1
= (wxFrame
*) 0 ;
3531 wxString
*arg2
= 0 ;
3533 bool temp2
= False
;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3536 PyObject
* obj2
= 0 ;
3538 (char *) "self",(char *) "text",(char *) "show", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3544 arg2
= wxString_in_helper(obj1
);
3545 if (arg2
== NULL
) SWIG_fail
;
3548 arg3
= PyInt_AsLong(obj2
) ? true : false;
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 Py_INCREF(Py_None
); resultobj
= Py_None
;
3572 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxFrame
*arg1
= (wxFrame
*) 0 ;
3575 wxMenu
*arg2
= (wxMenu
*) NULL
;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3579 (char *) "self",(char *) "menu", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 (arg1
)->DoMenuUpdates(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 Py_INCREF(Py_None
); resultobj
= Py_None
;
3601 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3604 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3606 return Py_BuildValue((char *)"");
3608 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxWindow
*arg1
= (wxWindow
*) 0 ;
3612 wxString
*arg3
= 0 ;
3613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3617 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3618 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3621 bool temp3
= False
;
3624 bool temp7
= False
;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj2
= 0 ;
3627 PyObject
* obj3
= 0 ;
3628 PyObject
* obj4
= 0 ;
3629 PyObject
* obj6
= 0 ;
3631 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3637 arg3
= wxString_in_helper(obj2
);
3638 if (arg3
== NULL
) SWIG_fail
;
3644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3655 arg7
= wxString_in_helper(obj6
);
3656 if (arg7
== NULL
) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3690 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= (wxDialog
*)new wxDialog();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3712 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxDialog
*arg1
= (wxDialog
*) 0 ;
3715 wxWindow
*arg2
= (wxWindow
*) 0 ;
3717 wxString
*arg4
= 0 ;
3718 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3719 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3720 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3721 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3722 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3723 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3724 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3726 bool temp4
= False
;
3729 bool temp8
= False
;
3730 PyObject
* obj0
= 0 ;
3731 PyObject
* obj1
= 0 ;
3732 PyObject
* obj3
= 0 ;
3733 PyObject
* obj4
= 0 ;
3734 PyObject
* obj5
= 0 ;
3735 PyObject
* obj7
= 0 ;
3737 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3744 arg4
= wxString_in_helper(obj3
);
3745 if (arg4
== NULL
) SWIG_fail
;
3751 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3757 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3762 arg8
= wxString_in_helper(obj7
);
3763 if (arg8
== NULL
) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= PyInt_FromLong((long)result
);
3797 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxDialog
*arg1
= (wxDialog
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self",(char *) "returnCode", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 (arg1
)->SetReturnCode(arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxDialog
*arg1
= (wxDialog
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3828 (char *) "self", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 resultobj
= PyInt_FromLong((long)result
);
3847 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxDialog
*arg1
= (wxDialog
*) 0 ;
3850 wxString
*arg2
= 0 ;
3852 bool temp2
= False
;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3856 (char *) "self",(char *) "message", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3862 arg2
= wxString_in_helper(obj1
);
3863 if (arg2
== NULL
) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= wxPyMake_wxSizer(result
);
3890 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxDialog
*arg1
= (wxDialog
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3897 (char *) "self",(char *) "flags", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= wxPyMake_wxSizer(result
);
3918 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxDialog
*arg1
= (wxDialog
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3925 (char *) "self",(char *) "flag", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3930 arg2
= PyInt_AsLong(obj1
) ? true : false;
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 (arg1
)->SetModal(arg2
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxDialog
*arg1
= (wxDialog
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "self", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= PyInt_FromLong((long)result
);
3971 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxDialog
*arg1
= (wxDialog
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (int)(arg1
)->ShowModal();
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= PyInt_FromLong((long)result
);
3996 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxDialog
*arg1
= (wxDialog
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4002 (char *) "self",(char *) "retCode", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->EndModal(arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Dialog_IsModalShowing(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_IsModalShowing",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
= (bool)wxDialog_IsModalShowing(arg1
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= PyInt_FromLong((long)result
);
4046 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4049 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4051 return Py_BuildValue((char *)"");
4053 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxWindow
*arg1
= (wxWindow
*) 0 ;
4057 wxString
*arg3
= 0 ;
4058 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4059 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4060 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4061 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4062 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4063 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4064 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4065 wxMiniFrame
*result
;
4066 bool temp3
= False
;
4069 bool temp7
= False
;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj2
= 0 ;
4072 PyObject
* obj3
= 0 ;
4073 PyObject
* obj4
= 0 ;
4074 PyObject
* obj6
= 0 ;
4076 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4082 arg3
= wxString_in_helper(obj2
);
4083 if (arg3
== NULL
) SWIG_fail
;
4089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4100 arg7
= wxString_in_helper(obj6
);
4101 if (arg7
== NULL
) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4135 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxMiniFrame
*result
;
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (wxMiniFrame
*)new wxMiniFrame();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4157 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4160 wxWindow
*arg2
= (wxWindow
*) 0 ;
4162 wxString
*arg4
= 0 ;
4163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4167 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4168 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4171 bool temp4
= False
;
4174 bool temp8
= False
;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj3
= 0 ;
4178 PyObject
* obj4
= 0 ;
4179 PyObject
* obj5
= 0 ;
4180 PyObject
* obj7
= 0 ;
4182 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4189 arg4
= wxString_in_helper(obj3
);
4190 if (arg4
== NULL
) SWIG_fail
;
4196 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4202 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4207 arg8
= wxString_in_helper(obj7
);
4208 if (arg8
== NULL
) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= PyInt_FromLong((long)result
);
4242 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4245 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4247 return Py_BuildValue((char *)"");
4249 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxBitmap
*arg1
= 0 ;
4252 wxWindow
*arg2
= (wxWindow
*) 0 ;
4254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4258 long arg6
= (long) wxNO_BORDER
;
4259 wxSplashScreenWindow
*result
;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 PyObject
* obj3
= 0 ;
4265 PyObject
* obj4
= 0 ;
4267 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4273 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4302 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4305 wxBitmap
*arg2
= 0 ;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4309 (char *) "self",(char *) "bitmap", NULL
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4316 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 Py_INCREF(Py_None
); resultobj
= Py_None
;
4332 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4338 (char *) "self", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4347 result
= (wxBitmap
*) &_result_ref
;
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4360 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4363 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4365 return Py_BuildValue((char *)"");
4367 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxBitmap
*arg1
= 0 ;
4372 wxWindow
*arg4
= (wxWindow
*) 0 ;
4374 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4375 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4376 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4377 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4378 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4379 wxSplashScreen
*result
;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj3
= 0 ;
4384 PyObject
* obj5
= 0 ;
4385 PyObject
* obj6
= 0 ;
4387 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4393 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4395 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4399 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4405 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4422 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "self", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= PyInt_FromLong((long)result
);
4447 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4450 wxSplashScreenWindow
*result
;
4451 PyObject
* obj0
= 0 ;
4453 (char *) "self", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4472 static PyObject
*_wrap_SplashScreen_GetTimeout(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_GetTimeout",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
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= PyInt_FromLong((long)result
);
4497 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4500 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4502 return Py_BuildValue((char *)"");
4504 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxWindow
*arg1
= (wxWindow
*) 0 ;
4507 int arg2
= (int) -1 ;
4508 long arg3
= (long) wxST_SIZEGRIP
;
4509 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4510 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4511 wxStatusBar
*result
;
4512 bool temp4
= False
;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj3
= 0 ;
4516 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4523 arg4
= wxString_in_helper(obj3
);
4524 if (arg4
== NULL
) SWIG_fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= wxPyMake_wxObject(result
);
4552 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxStatusBar
*result
;
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (wxStatusBar
*)new wxStatusBar();
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= wxPyMake_wxObject(result
);
4576 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4579 wxWindow
*arg2
= (wxWindow
*) 0 ;
4581 long arg4
= (long) wxST_SIZEGRIP
;
4582 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4583 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4585 bool temp5
= False
;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4588 PyObject
* obj4
= 0 ;
4590 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4598 arg5
= wxString_in_helper(obj4
);
4599 if (arg5
== NULL
) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= PyInt_FromLong((long)result
);
4625 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4628 int arg2
= (int) 1 ;
4629 PyObject
* obj0
= 0 ;
4631 (char *) "self",(char *) "number", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 (arg1
)->SetFieldsCount(arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 Py_INCREF(Py_None
); resultobj
= Py_None
;
4650 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4656 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= PyInt_FromLong((long)result
);
4675 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4678 wxString
*arg2
= 0 ;
4679 int arg3
= (int) 0 ;
4680 bool temp2
= False
;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4684 (char *) "self",(char *) "text",(char *) "number", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4690 arg2
= wxString_in_helper(obj1
);
4691 if (arg2
== NULL
) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4716 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4719 int arg2
= (int) 0 ;
4721 PyObject
* obj0
= 0 ;
4723 (char *) "self",(char *) "number", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4748 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4751 wxString
*arg2
= 0 ;
4752 int arg3
= (int) 0 ;
4753 bool temp2
= False
;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4757 (char *) "self",(char *) "text",(char *) "number", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4763 arg2
= wxString_in_helper(obj1
);
4764 if (arg2
== NULL
) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4792 int arg2
= (int) 0 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self",(char *) "number", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 (arg1
)->PopStatusText(arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 Py_INCREF(Py_None
); resultobj
= Py_None
;
4814 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4818 int *arg3
= (int *) 0 ;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "self",(char *) "widths", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4828 arg2
= PyList_Size(obj1
);
4829 arg3
= int_LIST_helper(obj1
);
4830 if (arg3
== NULL
) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 if (arg3
) delete [] arg3
;
4846 if (arg3
) delete [] arg3
;
4852 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "self",(char *) "i", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4873 resultptr
= new wxRect((wxRect
&) result
);
4874 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4882 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
;
4884 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4888 (char *) "self",(char *) "height", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetMinHeight(arg2
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4907 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "self", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= PyInt_FromLong((long)result
);
4932 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= PyInt_FromLong((long)result
);
4957 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4960 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4962 return Py_BuildValue((char *)"");
4964 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxWindow
*arg1
= (wxWindow
*) 0 ;
4968 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4969 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4970 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4971 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4972 long arg5
= (long) wxSP_3D
;
4973 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4974 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4975 wxSplitterWindow
*result
;
4978 bool temp6
= False
;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj2
= 0 ;
4981 PyObject
* obj3
= 0 ;
4982 PyObject
* obj5
= 0 ;
4984 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4998 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5003 arg6
= wxString_in_helper(obj5
);
5004 if (arg6
== NULL
) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5030 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxSplitterWindow
*result
;
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5052 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5055 wxWindow
*arg2
= (wxWindow
*) 0 ;
5057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5061 long arg6
= (long) wxSP_3D
;
5062 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5067 bool temp7
= False
;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 PyObject
* obj3
= 0 ;
5071 PyObject
* obj4
= 0 ;
5072 PyObject
* obj6
= 0 ;
5074 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5094 arg7
= wxString_in_helper(obj6
);
5095 if (arg7
== NULL
) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= PyInt_FromLong((long)result
);
5121 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5125 PyObject
* obj0
= 0 ;
5127 (char *) "self", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= wxPyMake_wxObject(result
);
5148 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "self", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= wxPyMake_wxObject(result
);
5175 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5181 (char *) "self",(char *) "mode", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 (arg1
)->SetSplitMode(arg2
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 Py_INCREF(Py_None
); resultobj
= Py_None
;
5200 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5206 (char *) "self", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= PyInt_FromLong((long)result
);
5225 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5228 wxWindow
*arg2
= (wxWindow
*) 0 ;
5229 PyObject
* obj0
= 0 ;
5230 PyObject
* obj1
= 0 ;
5232 (char *) "self",(char *) "window", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->Initialize(arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5252 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5255 wxWindow
*arg2
= (wxWindow
*) 0 ;
5256 wxWindow
*arg3
= (wxWindow
*) 0 ;
5257 int arg4
= (int) 0 ;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5261 PyObject
* obj2
= 0 ;
5263 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5269 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= PyInt_FromLong((long)result
);
5284 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5287 wxWindow
*arg2
= (wxWindow
*) 0 ;
5288 wxWindow
*arg3
= (wxWindow
*) 0 ;
5289 int arg4
= (int) 0 ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 PyObject
* obj2
= 0 ;
5295 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5301 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= PyInt_FromLong((long)result
);
5316 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5319 wxWindow
*arg2
= (wxWindow
*) NULL
;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5324 (char *) "self",(char *) "toRemove", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)(arg1
)->Unsplit(arg2
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= PyInt_FromLong((long)result
);
5346 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
;
5348 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5349 wxWindow
*arg2
= (wxWindow
*) 0 ;
5350 wxWindow
*arg3
= (wxWindow
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 PyObject
* obj2
= 0 ;
5356 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= PyInt_FromLong((long)result
);
5377 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5381 PyObject
* obj0
= 0 ;
5383 (char *) "self", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= PyInt_FromLong((long)result
);
5402 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5408 (char *) "self",(char *) "width", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->SetSashSize(arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5427 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5433 (char *) "self",(char *) "width", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 (arg1
)->SetBorderSize(arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 Py_INCREF(Py_None
); resultobj
= Py_None
;
5452 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5458 (char *) "self", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= PyInt_FromLong((long)result
);
5477 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= PyInt_FromLong((long)result
);
5502 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5506 bool arg3
= (bool) True
;
5507 PyObject
* obj0
= 0 ;
5508 PyObject
* obj2
= 0 ;
5510 (char *) "self",(char *) "position",(char *) "redraw", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5516 arg3
= PyInt_AsLong(obj2
) ? true : false;
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->SetSashPosition(arg2
,arg3
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 Py_INCREF(Py_None
); resultobj
= Py_None
;
5533 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "self", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= PyInt_FromLong((long)result
);
5558 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5562 PyObject
* obj0
= 0 ;
5564 (char *) "self",(char *) "min", NULL
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 (arg1
)->SetMinimumPaneSize(arg2
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 Py_INCREF(Py_None
); resultobj
= Py_None
;
5583 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5589 (char *) "self", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= PyInt_FromLong((long)result
);
5608 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5613 int arg4
= (int) 5 ;
5615 PyObject
* obj0
= 0 ;
5617 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= PyInt_FromLong((long)result
);
5636 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 (arg1
)->SizeWindows();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 Py_INCREF(Py_None
); resultobj
= Py_None
;
5660 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5667 (char *) "self",(char *) "needUpdating", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5672 arg2
= PyInt_AsLong(obj1
) ? true : false;
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 (arg1
)->SetNeedUpdating(arg2
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 Py_INCREF(Py_None
); resultobj
= Py_None
;
5688 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5690 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5694 (char *) "self", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",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 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= PyInt_FromLong((long)result
);
5713 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5716 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5718 return Py_BuildValue((char *)"");
5720 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5723 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5724 wxSplitterEvent
*result
;
5725 PyObject
* obj1
= 0 ;
5727 (char *) "type",(char *) "splitter", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5748 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5754 (char *) "self",(char *) "pos", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 (arg1
)->SetSashPosition(arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 Py_INCREF(Py_None
); resultobj
= Py_None
;
5773 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5777 PyObject
* obj0
= 0 ;
5779 (char *) "self", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= PyInt_FromLong((long)result
);
5798 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5804 (char *) "self", NULL
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= wxPyMake_wxObject(result
);
5825 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5829 PyObject
* obj0
= 0 ;
5831 (char *) "self", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= PyInt_FromLong((long)result
);
5850 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5854 PyObject
* obj0
= 0 ;
5856 (char *) "self", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= PyInt_FromLong((long)result
);
5875 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5878 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5880 return Py_BuildValue((char *)"");
5882 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxWindow
*arg1
= (wxWindow
*) 0 ;
5886 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5887 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5888 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5889 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5890 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5891 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5892 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5893 wxSashWindow
*result
;
5896 bool temp6
= False
;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj2
= 0 ;
5899 PyObject
* obj3
= 0 ;
5900 PyObject
* obj5
= 0 ;
5902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5916 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5921 arg6
= wxString_in_helper(obj5
);
5922 if (arg6
== NULL
) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5948 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxSashWindow
*result
;
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (wxSashWindow
*)new wxSashWindow();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5970 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5973 wxWindow
*arg2
= (wxWindow
*) 0 ;
5975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5979 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5980 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5985 bool temp7
= False
;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5988 PyObject
* obj3
= 0 ;
5989 PyObject
* obj4
= 0 ;
5990 PyObject
* obj6
= 0 ;
5992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6012 arg7
= wxString_in_helper(obj6
);
6013 if (arg7
== NULL
) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= PyInt_FromLong((long)result
);
6039 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj2
= 0 ;
6047 (char *) "self",(char *) "edge",(char *) "sash", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6052 arg3
= PyInt_AsLong(obj2
) ? true : false;
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self",(char *) "edge", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= PyInt_FromLong((long)result
);
6094 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj2
= 0 ;
6102 (char *) "self",(char *) "edge",(char *) "border", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6107 arg3
= PyInt_AsLong(obj2
) ? true : false;
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self",(char *) "edge", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= PyInt_FromLong((long)result
);
6149 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6156 (char *) "self",(char *) "edge", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 resultobj
= PyInt_FromLong((long)result
);
6175 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6181 (char *) "self",(char *) "width", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 (arg1
)->SetDefaultBorderSize(arg2
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 Py_INCREF(Py_None
); resultobj
= Py_None
;
6200 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "self", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= PyInt_FromLong((long)result
);
6225 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6231 (char *) "self",(char *) "width", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 (arg1
)->SetExtraBorderSize(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6254 PyObject
* obj0
= 0 ;
6256 (char *) "self", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= PyInt_FromLong((long)result
);
6275 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6281 (char *) "self",(char *) "min", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 (arg1
)->SetMinimumSizeX(arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self",(char *) "min", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 (arg1
)->SetMinimumSizeY(arg2
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 Py_INCREF(Py_None
); resultobj
= Py_None
;
6325 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6331 (char *) "self", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= PyInt_FromLong((long)result
);
6350 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6356 (char *) "self", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= PyInt_FromLong((long)result
);
6375 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self",(char *) "max", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 (arg1
)->SetMaximumSizeX(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 Py_INCREF(Py_None
); resultobj
= Py_None
;
6400 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6406 (char *) "self",(char *) "max", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 (arg1
)->SetMaximumSizeY(arg2
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "self", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= PyInt_FromLong((long)result
);
6450 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6454 PyObject
* obj0
= 0 ;
6456 (char *) "self", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= PyInt_FromLong((long)result
);
6475 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6480 int arg4
= (int) 2 ;
6482 PyObject
* obj0
= 0 ;
6484 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) 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)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= PyInt_FromLong((long)result
);
6503 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "self", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 (arg1
)->SizeWindows();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 Py_INCREF(Py_None
); resultobj
= Py_None
;
6527 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6530 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6532 return Py_BuildValue((char *)"");
6534 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 int arg1
= (int) 0 ;
6537 int arg2
= (int) wxSASH_NONE
;
6538 wxSashEvent
*result
;
6540 (char *) "id",(char *) "edge", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6558 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6564 (char *) "self",(char *) "edge", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= PyInt_FromLong((long)result
);
6608 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "rect", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6659 resultptr
= new wxRect((wxRect
&) result
);
6660 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6668 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6674 (char *) "self",(char *) "status", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 Py_INCREF(Py_None
); resultobj
= Py_None
;
6693 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "self", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= PyInt_FromLong((long)result
);
6718 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6721 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6723 return Py_BuildValue((char *)"");
6725 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 int arg1
= (int) 0 ;
6728 wxQueryLayoutInfoEvent
*result
;
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6748 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6754 (char *) "self",(char *) "length", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 (arg1
)->SetRequestedLength(arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 Py_INCREF(Py_None
); resultobj
= Py_None
;
6773 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= PyInt_FromLong((long)result
);
6798 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6804 (char *) "self",(char *) "flags", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 (arg1
)->SetFlags(arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 Py_INCREF(Py_None
); resultobj
= Py_None
;
6823 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6829 (char *) "self", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= PyInt_FromLong((long)result
);
6848 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "size", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6863 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetSize((wxSize
const &)*arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6885 (char *) "self", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6899 resultptr
= new wxSize((wxSize
&) result
);
6900 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6908 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6914 (char *) "self",(char *) "orient", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 Py_INCREF(Py_None
); resultobj
= Py_None
;
6933 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= PyInt_FromLong((long)result
);
6958 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "self",(char *) "align", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 Py_INCREF(Py_None
); resultobj
= Py_None
;
6983 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6989 (char *) "self", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= PyInt_FromLong((long)result
);
7008 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7011 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7013 return Py_BuildValue((char *)"");
7015 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 int arg1
= (int) 0 ;
7018 wxCalculateLayoutEvent
*result
;
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7038 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7044 (char *) "self",(char *) "flags", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 (arg1
)->SetFlags(arg2
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 Py_INCREF(Py_None
); resultobj
= Py_None
;
7063 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7067 PyObject
* obj0
= 0 ;
7069 (char *) "self", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= PyInt_FromLong((long)result
);
7088 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "self",(char *) "rect", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7103 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->SetRect((wxRect
const &)*arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "self", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7139 resultptr
= new wxRect((wxRect
&) result
);
7140 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7148 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7151 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7153 return Py_BuildValue((char *)"");
7155 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxWindow
*arg1
= (wxWindow
*) 0 ;
7159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7163 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7164 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7165 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7166 wxSashLayoutWindow
*result
;
7169 bool temp6
= False
;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj2
= 0 ;
7172 PyObject
* obj3
= 0 ;
7173 PyObject
* obj5
= 0 ;
7175 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7194 arg6
= wxString_in_helper(obj5
);
7195 if (arg6
== NULL
) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7221 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxSashLayoutWindow
*result
;
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7243 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7246 wxWindow
*arg2
= (wxWindow
*) 0 ;
7248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7252 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7253 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7254 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7258 bool temp7
= False
;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7261 PyObject
* obj3
= 0 ;
7262 PyObject
* obj4
= 0 ;
7263 PyObject
* obj6
= 0 ;
7265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7285 arg7
= wxString_in_helper(obj6
);
7286 if (arg7
== NULL
) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= PyInt_FromLong((long)result
);
7312 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7316 PyObject
* obj0
= 0 ;
7318 (char *) "self", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (int)(arg1
)->GetAlignment();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= PyInt_FromLong((long)result
);
7337 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (int)(arg1
)->GetOrientation();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= PyInt_FromLong((long)result
);
7362 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7368 (char *) "self",(char *) "alignment", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7395 (char *) "self",(char *) "size", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 Py_INCREF(Py_None
); resultobj
= Py_None
;
7418 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "self",(char *) "orientation", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7446 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7448 return Py_BuildValue((char *)"");
7450 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxLayoutAlgorithm
*result
;
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7472 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7499 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7500 wxRect
*arg3
= (wxRect
*) NULL
;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 PyObject
* obj2
= 0 ;
7506 (char *) "self",(char *) "frame",(char *) "rect", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7513 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= PyInt_FromLong((long)result
);
7529 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7532 wxFrame
*arg2
= (wxFrame
*) 0 ;
7533 wxWindow
*arg3
= (wxWindow
*) NULL
;
7535 PyObject
* obj0
= 0 ;
7536 PyObject
* obj1
= 0 ;
7537 PyObject
* obj2
= 0 ;
7539 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7546 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= PyInt_FromLong((long)result
);
7562 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7565 wxWindow
*arg2
= (wxWindow
*) 0 ;
7566 wxWindow
*arg3
= (wxWindow
*) NULL
;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7570 PyObject
* obj2
= 0 ;
7572 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7579 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= PyInt_FromLong((long)result
);
7595 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7598 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7600 return Py_BuildValue((char *)"");
7602 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxWindow
*arg1
= (wxWindow
*) 0 ;
7605 int arg2
= (int) wxBORDER_NONE
;
7606 wxPopupWindow
*result
;
7607 PyObject
* obj0
= 0 ;
7609 (char *) "parent",(char *) "flags", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7628 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxPopupWindow
*result
;
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (wxPopupWindow
*)new wxPopupWindow();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7650 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7653 wxWindow
*arg2
= (wxWindow
*) 0 ;
7654 int arg3
= (int) wxBORDER_NONE
;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7659 (char *) "self",(char *) "parent",(char *) "flags", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7664 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= PyInt_FromLong((long)result
);
7679 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7688 PyObject
* obj2
= 0 ;
7690 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7701 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 Py_INCREF(Py_None
); resultobj
= Py_None
;
7717 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7720 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7722 return Py_BuildValue((char *)"");
7724 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxWindow
*arg1
= (wxWindow
*) 0 ;
7727 int arg2
= (int) wxBORDER_NONE
;
7728 wxPyPopupTransientWindow
*result
;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "parent",(char *) "style", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7750 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxPyPopupTransientWindow
*result
;
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7772 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7775 PyObject
*arg2
= (PyObject
*) 0 ;
7776 PyObject
*arg3
= (PyObject
*) 0 ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7781 (char *) "self",(char *) "self",(char *) "_class", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 Py_INCREF(Py_None
); resultobj
= Py_None
;
7802 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7805 wxWindow
*arg2
= (wxWindow
*) NULL
;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "focus", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->Popup(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7836 (char *) "self", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7858 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7860 return Py_BuildValue((char *)"");
7862 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxWindow
*arg1
= (wxWindow
*) 0 ;
7865 wxString
*arg2
= (wxString
*) 0 ;
7866 int arg3
= (int) 100 ;
7867 wxRect
*arg4
= (wxRect
*) NULL
;
7868 wxTipWindow
*result
;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj3
= 0 ;
7873 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7880 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const *)arg2
,arg3
,arg4
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7896 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7904 (char *) "self",(char *) "rectBound", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7951 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7954 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7956 return Py_BuildValue((char *)"");
7958 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxWindow
*arg1
= (wxWindow
*) 0 ;
7961 int arg2
= (int) wxID_ANY
;
7962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7966 long arg5
= (long) 0 ;
7967 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7968 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7969 wxPyVScrolledWindow
*result
;
7972 bool temp6
= False
;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj2
= 0 ;
7975 PyObject
* obj3
= 0 ;
7976 PyObject
* obj5
= 0 ;
7978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7992 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7997 arg6
= wxString_in_helper(obj5
);
7998 if (arg6
== NULL
) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8024 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxPyVScrolledWindow
*result
;
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8046 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8049 PyObject
*arg2
= (PyObject
*) 0 ;
8050 PyObject
*arg3
= (PyObject
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8053 PyObject
* obj2
= 0 ;
8055 (char *) "self",(char *) "self",(char *) "_class", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8079 wxWindow
*arg2
= (wxWindow
*) 0 ;
8080 int arg3
= (int) wxID_ANY
;
8081 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8082 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8083 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8084 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8085 long arg6
= (long) 0 ;
8086 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8087 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8091 bool temp7
= False
;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8094 PyObject
* obj3
= 0 ;
8095 PyObject
* obj4
= 0 ;
8096 PyObject
* obj6
= 0 ;
8098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8107 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8113 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8118 arg7
= wxString_in_helper(obj6
);
8119 if (arg7
== NULL
) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= PyInt_FromLong((long)result
);
8145 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8152 (char *) "self",(char *) "count", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8157 arg2
= (size_t) PyInt_AsLong(obj1
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->SetLineCount(arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8179 PyObject
* obj1
= 0 ;
8181 (char *) "self",(char *) "line", NULL
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8186 arg2
= (size_t) PyInt_AsLong(obj1
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= PyInt_FromLong((long)result
);
8202 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8209 (char *) "self",(char *) "lines", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
8213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->ScrollLines(arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= PyInt_FromLong((long)result
);
8228 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "self",(char *) "pages", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 result
= (bool)(arg1
)->ScrollPages(arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= PyInt_FromLong((long)result
);
8254 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8261 (char *) "self",(char *) "line", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8266 arg2
= (size_t) PyInt_AsLong(obj1
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 (arg1
)->RefreshLine(arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8289 PyObject
* obj2
= 0 ;
8291 (char *) "self",(char *) "from",(char *) "to", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8296 arg2
= (size_t) PyInt_AsLong(obj1
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8298 arg3
= (size_t) PyInt_AsLong(obj2
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 (arg1
)->RefreshLines(arg2
,arg3
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 Py_INCREF(Py_None
); resultobj
= Py_None
;
8314 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8320 PyObject
* obj0
= 0 ;
8322 (char *) "self",(char *) "x",(char *) "y", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= PyInt_FromLong((long)result
);
8341 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8350 (char *) "self",(char *) "pt", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8357 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= PyInt_FromLong((long)result
);
8373 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->RefreshAll();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 Py_INCREF(Py_None
); resultobj
= Py_None
;
8397 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8401 PyObject
* obj0
= 0 ;
8403 (char *) "self", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= PyInt_FromLong((long)result
);
8422 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8426 PyObject
* obj0
= 0 ;
8428 (char *) "self", NULL
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= PyInt_FromLong((long)result
);
8447 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8453 (char *) "self", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= PyInt_FromLong((long)result
);
8472 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8478 PyObject
* obj1
= 0 ;
8480 (char *) "self",(char *) "line", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8485 arg2
= (size_t) PyInt_AsLong(obj1
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= PyInt_FromLong((long)result
);
8501 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8504 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8506 return Py_BuildValue((char *)"");
8508 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxWindow
*arg1
= (wxWindow
*) 0 ;
8511 int arg2
= (int) wxID_ANY
;
8512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8514 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8515 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8516 long arg5
= (long) 0 ;
8517 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8518 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8519 wxPyVListBox
*result
;
8522 bool temp6
= False
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj2
= 0 ;
8525 PyObject
* obj3
= 0 ;
8526 PyObject
* obj5
= 0 ;
8528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8536 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8542 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8547 arg6
= wxString_in_helper(obj5
);
8548 if (arg6
== NULL
) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8574 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxPyVListBox
*result
;
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxPyVListBox
*)new wxPyVListBox();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8596 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8599 PyObject
*arg2
= (PyObject
*) 0 ;
8600 PyObject
*arg3
= (PyObject
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 PyObject
* obj2
= 0 ;
8605 (char *) "self",(char *) "self",(char *) "_class", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 Py_INCREF(Py_None
); resultobj
= Py_None
;
8626 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
;
8628 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8629 wxWindow
*arg2
= (wxWindow
*) 0 ;
8630 int arg3
= (int) wxID_ANY
;
8631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8635 long arg6
= (long) 0 ;
8636 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8641 bool temp7
= False
;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8644 PyObject
* obj3
= 0 ;
8645 PyObject
* obj4
= 0 ;
8646 PyObject
* obj6
= 0 ;
8648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8668 arg7
= wxString_in_helper(obj6
);
8669 if (arg7
== NULL
) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= PyInt_FromLong((long)result
);
8695 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8701 (char *) "self", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyInt_FromLong((long)result
);
8720 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8726 (char *) "self", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= PyInt_FromLong((long)result
);
8745 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8749 PyObject
* obj0
= 0 ;
8751 (char *) "self", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 resultobj
= PyInt_FromLong((long)result
);
8770 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8778 (char *) "self",(char *) "item", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8783 arg2
= (size_t) PyInt_AsLong(obj1
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= PyInt_FromLong((long)result
);
8799 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8807 (char *) "self",(char *) "item", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8812 arg2
= (size_t) PyInt_AsLong(obj1
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= PyInt_FromLong((long)result
);
8828 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= PyInt_FromLong((long)result
);
8853 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8856 unsigned long *arg2
= 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8861 (char *) "self",(char *) "cookie", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= PyInt_FromLong((long)result
);
8884 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8887 unsigned long *arg2
= 0 ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8892 (char *) "self",(char *) "cookie", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= PyInt_FromLong((long)result
);
8915 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8934 wxPoint
* resultptr
;
8935 resultptr
= new wxPoint((wxPoint
&) result
);
8936 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8944 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8959 result
= (wxColour
*) &_result_ref
;
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8972 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "count", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8984 arg2
= (size_t) PyInt_AsLong(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->SetItemCount(arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9000 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 Py_INCREF(Py_None
); resultobj
= Py_None
;
9024 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "self",(char *) "selection", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 (arg1
)->SetSelection(arg2
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9053 bool arg3
= (bool) True
;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9059 (char *) "self",(char *) "item",(char *) "select", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9064 arg2
= (size_t) PyInt_AsLong(obj1
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 arg3
= PyInt_AsLong(obj2
) ? true : false;
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= PyInt_FromLong((long)result
);
9084 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9091 PyObject
* obj1
= 0 ;
9092 PyObject
* obj2
= 0 ;
9094 (char *) "self",(char *) "from",(char *) "to", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9099 arg2
= (size_t) PyInt_AsLong(obj1
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9101 arg3
= (size_t) PyInt_AsLong(obj2
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= PyInt_FromLong((long)result
);
9117 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9124 (char *) "self",(char *) "item", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9129 arg2
= (size_t) PyInt_AsLong(obj1
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 (arg1
)->Toggle(arg2
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 Py_INCREF(Py_None
); resultobj
= Py_None
;
9145 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9151 (char *) "self", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)(arg1
)->SelectAll();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= PyInt_FromLong((long)result
);
9170 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (bool)(arg1
)->DeselectAll();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= PyInt_FromLong((long)result
);
9195 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9203 (char *) "self",(char *) "pt", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 Py_INCREF(Py_None
); resultobj
= Py_None
;
9226 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9228 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9233 (char *) "self",(char *) "x",(char *) "y", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 (arg1
)->SetMargins(arg2
,arg3
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 Py_INCREF(Py_None
); resultobj
= Py_None
;
9252 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9255 wxColour
*arg2
= 0 ;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9260 (char *) "self",(char *) "col", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 Py_INCREF(Py_None
); resultobj
= Py_None
;
9283 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9286 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9288 return Py_BuildValue((char *)"");
9290 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxWindow
*arg1
= (wxWindow
*) 0 ;
9293 int arg2
= (int) wxID_ANY
;
9294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9298 long arg5
= (long) 0 ;
9299 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9300 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9301 wxPyHtmlListBox
*result
;
9304 bool temp6
= False
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj2
= 0 ;
9307 PyObject
* obj3
= 0 ;
9308 PyObject
* obj5
= 0 ;
9310 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9324 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9329 arg6
= wxString_in_helper(obj5
);
9330 if (arg6
== NULL
) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9356 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxPyHtmlListBox
*result
;
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9378 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9381 PyObject
*arg2
= (PyObject
*) 0 ;
9382 PyObject
*arg3
= (PyObject
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9385 PyObject
* obj2
= 0 ;
9387 (char *) "self",(char *) "self",(char *) "_class", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 Py_INCREF(Py_None
); resultobj
= Py_None
;
9408 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9411 wxWindow
*arg2
= (wxWindow
*) 0 ;
9412 int arg3
= (int) wxID_ANY
;
9413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9417 long arg6
= (long) 0 ;
9418 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9423 bool temp7
= False
;
9424 PyObject
* obj0
= 0 ;
9425 PyObject
* obj1
= 0 ;
9426 PyObject
* obj3
= 0 ;
9427 PyObject
* obj4
= 0 ;
9428 PyObject
* obj6
= 0 ;
9430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9450 arg7
= wxString_in_helper(obj6
);
9451 if (arg7
== NULL
) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= PyInt_FromLong((long)result
);
9477 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9482 (char *) "self", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->RefreshAll();
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 Py_INCREF(Py_None
); resultobj
= Py_None
;
9501 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9508 (char *) "self",(char *) "count", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9513 arg2
= (size_t) PyInt_AsLong(obj1
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetItemCount(arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9532 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9534 return Py_BuildValue((char *)"");
9536 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxTaskBarIcon
*result
;
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9558 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9563 (char *) "self", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9588 (char *) "self", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= PyInt_FromLong((long)result
);
9607 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "self", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= PyInt_FromLong((long)result
);
9632 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
;
9634 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9636 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9637 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9639 bool temp3
= False
;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9642 PyObject
* obj2
= 0 ;
9644 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9655 arg3
= wxString_in_helper(obj2
);
9656 if (arg3
== NULL
) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= PyInt_FromLong((long)result
);
9682 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (bool)(arg1
)->RemoveIcon();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= PyInt_FromLong((long)result
);
9707 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9710 wxMenu
*arg2
= (wxMenu
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9715 (char *) "self",(char *) "menu", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (bool)(arg1
)->PopupMenu(arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= PyInt_FromLong((long)result
);
9735 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9738 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9740 return Py_BuildValue((char *)"");
9742 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9745 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9746 wxTaskBarIconEvent
*result
;
9747 PyObject
* obj1
= 0 ;
9749 (char *) "evtType",(char *) "tbIcon", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9768 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9771 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9773 return Py_BuildValue((char *)"");
9775 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxColourData
*result
;
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (wxColourData
*)new wxColourData();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9797 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxColourData
*arg1
= (wxColourData
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 Py_INCREF(Py_None
); resultobj
= Py_None
;
9821 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxColourData
*arg1
= (wxColourData
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "self", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (bool)(arg1
)->GetChooseFull();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= PyInt_FromLong((long)result
);
9846 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxColourData
*arg1
= (wxColourData
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (arg1
)->GetColour();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 wxColour
* resultptr
;
9866 resultptr
= new wxColour((wxColour
&) result
);
9867 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9875 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxColourData
*arg1
= (wxColourData
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "self",(char *) "i", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (arg1
)->GetCustomColour(arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9895 wxColour
* resultptr
;
9896 resultptr
= new wxColour((wxColour
&) result
);
9897 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9905 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxColourData
*arg1
= (wxColourData
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9911 (char *) "self",(char *) "flag", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 (arg1
)->SetChooseFull(arg2
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 Py_INCREF(Py_None
); resultobj
= Py_None
;
9930 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxColourData
*arg1
= (wxColourData
*) 0 ;
9933 wxColour
*arg2
= 0 ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9938 (char *) "self",(char *) "colour", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 (arg1
)->SetColour((wxColour
const &)*arg2
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 Py_INCREF(Py_None
); resultobj
= Py_None
;
9961 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxColourData
*arg1
= (wxColourData
*) 0 ;
9965 wxColour
*arg3
= 0 ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj2
= 0 ;
9970 (char *) "self",(char *) "i",(char *) "colour", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9977 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 Py_INCREF(Py_None
); resultobj
= Py_None
;
9993 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9996 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9998 return Py_BuildValue((char *)"");
10000 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxWindow
*arg1
= (wxWindow
*) 0 ;
10003 wxColourData
*arg2
= (wxColourData
*) NULL
;
10004 wxColourDialog
*result
;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "parent",(char *) "data", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
10030 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10033 wxColourData
*result
;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10045 result
= (wxColourData
*) &_result_ref
;
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10058 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)(arg1
)->ShowModal();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= PyInt_FromLong((long)result
);
10083 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10086 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10088 return Py_BuildValue((char *)"");
10090 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxWindow
*arg1
= (wxWindow
*) 0 ;
10093 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10094 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10095 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10096 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10097 long arg4
= (long) 0 ;
10098 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10099 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10100 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10101 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10102 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10103 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10104 wxDirDialog
*result
;
10105 bool temp2
= False
;
10106 bool temp3
= False
;
10109 bool temp7
= False
;
10110 PyObject
* obj0
= 0 ;
10111 PyObject
* obj1
= 0 ;
10112 PyObject
* obj2
= 0 ;
10113 PyObject
* obj4
= 0 ;
10114 PyObject
* obj5
= 0 ;
10115 PyObject
* obj6
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10124 arg2
= wxString_in_helper(obj1
);
10125 if (arg2
== NULL
) SWIG_fail
;
10131 arg3
= wxString_in_helper(obj2
);
10132 if (arg3
== NULL
) SWIG_fail
;
10139 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10145 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10150 arg7
= wxString_in_helper(obj6
);
10151 if (arg7
== NULL
) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10193 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (arg1
)->GetPath();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10224 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (arg1
)->GetMessage();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10255 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (long)(arg1
)->GetStyle();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= PyInt_FromLong((long)result
);
10280 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10283 wxString
*arg2
= 0 ;
10284 bool temp2
= False
;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "message", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10294 arg2
= wxString_in_helper(obj1
);
10295 if (arg2
== NULL
) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 (arg1
)->SetMessage((wxString
const &)*arg2
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10323 wxString
*arg2
= 0 ;
10324 bool temp2
= False
;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "path", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10334 arg2
= wxString_in_helper(obj1
);
10335 if (arg2
== NULL
) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 (arg1
)->SetPath((wxString
const &)*arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 Py_INCREF(Py_None
); resultobj
= Py_None
;
10360 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (int)(arg1
)->ShowModal();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= PyInt_FromLong((long)result
);
10385 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10388 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10390 return Py_BuildValue((char *)"");
10392 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxWindow
*arg1
= (wxWindow
*) 0 ;
10395 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10396 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10397 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10398 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10399 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10400 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10401 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10402 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10403 long arg6
= (long) 0 ;
10404 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10405 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10406 wxFileDialog
*result
;
10407 bool temp2
= False
;
10408 bool temp3
= False
;
10409 bool temp4
= False
;
10410 bool temp5
= False
;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 PyObject
* obj2
= 0 ;
10415 PyObject
* obj3
= 0 ;
10416 PyObject
* obj4
= 0 ;
10417 PyObject
* obj6
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10426 arg2
= wxString_in_helper(obj1
);
10427 if (arg2
== NULL
) SWIG_fail
;
10433 arg3
= wxString_in_helper(obj2
);
10434 if (arg3
== NULL
) SWIG_fail
;
10440 arg4
= wxString_in_helper(obj3
);
10441 if (arg4
== NULL
) SWIG_fail
;
10447 arg5
= wxString_in_helper(obj4
);
10448 if (arg5
== NULL
) SWIG_fail
;
10455 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10504 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10507 wxString
*arg2
= 0 ;
10508 bool temp2
= False
;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "message", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10518 arg2
= wxString_in_helper(obj1
);
10519 if (arg2
== NULL
) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 (arg1
)->SetMessage((wxString
const &)*arg2
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 Py_INCREF(Py_None
); resultobj
= Py_None
;
10544 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10547 wxString
*arg2
= 0 ;
10548 bool temp2
= False
;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "path", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10558 arg2
= wxString_in_helper(obj1
);
10559 if (arg2
== NULL
) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 (arg1
)->SetPath((wxString
const &)*arg2
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 Py_INCREF(Py_None
); resultobj
= Py_None
;
10584 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10587 wxString
*arg2
= 0 ;
10588 bool temp2
= False
;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self",(char *) "dir", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10598 arg2
= wxString_in_helper(obj1
);
10599 if (arg2
== NULL
) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10627 wxString
*arg2
= 0 ;
10628 bool temp2
= False
;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "name", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10638 arg2
= wxString_in_helper(obj1
);
10639 if (arg2
== NULL
) SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 (arg1
)->SetFilename((wxString
const &)*arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10667 wxString
*arg2
= 0 ;
10668 bool temp2
= False
;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self",(char *) "wildCard", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10678 arg2
= wxString_in_helper(obj1
);
10679 if (arg2
== NULL
) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10704 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self",(char *) "style", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 (arg1
)->SetStyle(arg2
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "filterIndex", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetFilterIndex(arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 Py_INCREF(Py_None
); resultobj
= Py_None
;
10754 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10785 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10816 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10847 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10878 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10909 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10913 PyObject
* obj0
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= PyInt_FromLong((long)result
);
10934 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10938 PyObject
* obj0
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= PyInt_FromLong((long)result
);
10959 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
;
10984 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
;
11009 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11012 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11014 return Py_BuildValue((char *)"");
11016 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxWindow
*arg1
= (wxWindow
*) 0 ;
11019 wxString
*arg2
= 0 ;
11020 wxString
*arg3
= 0 ;
11022 wxString
*arg5
= (wxString
*) 0 ;
11023 long arg6
= (long) wxCHOICEDLG_STYLE
;
11024 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11025 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11026 wxMultiChoiceDialog
*result
;
11027 bool temp2
= False
;
11028 bool temp3
= False
;
11030 PyObject
* obj0
= 0 ;
11031 PyObject
* obj1
= 0 ;
11032 PyObject
* obj2
= 0 ;
11033 PyObject
* obj4
= 0 ;
11034 PyObject
* obj6
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11042 arg2
= wxString_in_helper(obj1
);
11043 if (arg2
== NULL
) SWIG_fail
;
11047 arg3
= wxString_in_helper(obj2
);
11048 if (arg3
== NULL
) SWIG_fail
;
11051 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11055 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11088 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11091 wxArrayInt
*arg2
= 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "selections", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11101 if (! PySequence_Check(obj1
)) {
11102 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11105 arg2
= new wxArrayInt
;
11106 int i
, len
=PySequence_Length(obj1
);
11107 for (i
=0; i
<len
; i
++) {
11108 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11109 PyObject
* number
= PyNumber_Int(item
);
11110 arg2
->Add(PyInt_AS_LONG(number
));
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11124 if (arg2
) delete arg2
;
11129 if (arg2
) delete arg2
;
11135 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
;
11160 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11163 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11165 return Py_BuildValue((char *)"");
11167 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxWindow
*arg1
= (wxWindow
*) 0 ;
11170 wxString
*arg2
= 0 ;
11171 wxString
*arg3
= 0 ;
11173 wxString
*arg5
= (wxString
*) 0 ;
11174 long arg6
= (long) wxCHOICEDLG_STYLE
;
11175 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11176 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11177 wxSingleChoiceDialog
*result
;
11178 bool temp2
= False
;
11179 bool temp3
= False
;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 PyObject
* obj2
= 0 ;
11184 PyObject
* obj3
= 0 ;
11185 PyObject
* obj5
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11193 arg2
= wxString_in_helper(obj1
);
11194 if (arg2
== NULL
) SWIG_fail
;
11198 arg3
= wxString_in_helper(obj2
);
11199 if (arg3
== NULL
) SWIG_fail
;
11203 arg4
= PyList_Size(obj3
);
11204 arg5
= wxString_LIST_helper(obj3
);
11205 if (arg5
== NULL
) SWIG_fail
;
11210 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11230 if (arg5
) delete [] arg5
;
11243 if (arg5
) delete [] arg5
;
11249 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (int)(arg1
)->GetSelection();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= PyInt_FromLong((long)result
);
11274 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (arg1
)->GetStringSelection();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11305 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self",(char *) "sel", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 (arg1
)->SetSelection(arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 Py_INCREF(Py_None
); resultobj
= Py_None
;
11330 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11334 PyObject
* obj0
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (int)(arg1
)->ShowModal();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= PyInt_FromLong((long)result
);
11355 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11358 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11360 return Py_BuildValue((char *)"");
11362 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxWindow
*arg1
= (wxWindow
*) 0 ;
11365 wxString
*arg2
= 0 ;
11366 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11367 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11368 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11369 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11370 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11371 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11372 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11373 wxTextEntryDialog
*result
;
11374 bool temp2
= False
;
11375 bool temp3
= False
;
11376 bool temp4
= False
;
11378 PyObject
* obj0
= 0 ;
11379 PyObject
* obj1
= 0 ;
11380 PyObject
* obj2
= 0 ;
11381 PyObject
* obj3
= 0 ;
11382 PyObject
* obj5
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11390 arg2
= wxString_in_helper(obj1
);
11391 if (arg2
== NULL
) SWIG_fail
;
11396 arg3
= wxString_in_helper(obj2
);
11397 if (arg3
== NULL
) SWIG_fail
;
11403 arg4
= wxString_in_helper(obj3
);
11404 if (arg4
== NULL
) SWIG_fail
;
11411 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11452 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (arg1
)->GetValue();
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11483 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11486 wxString
*arg2
= 0 ;
11487 bool temp2
= False
;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self",(char *) "value", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11497 arg2
= wxString_in_helper(obj1
);
11498 if (arg2
== NULL
) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->SetValue((wxString
const &)*arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (int)(arg1
)->ShowModal();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= PyInt_FromLong((long)result
);
11548 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11551 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11553 return Py_BuildValue((char *)"");
11555 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxFontData
*result
;
11558 char *kwnames
[] = {
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 result
= (wxFontData
*)new wxFontData();
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11577 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11578 PyObject
*resultobj
;
11579 wxFontData
*arg1
= (wxFontData
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11601 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxFontData
*arg1
= (wxFontData
*) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "enable", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11613 arg2
= PyInt_AsLong(obj1
) ? true : false;
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->EnableEffects(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxFontData
*arg1
= (wxFontData
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)(arg1
)->GetAllowSymbols();
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= PyInt_FromLong((long)result
);
11654 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxFontData
*arg1
= (wxFontData
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (arg1
)->GetColour();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 wxColour
* resultptr
;
11674 resultptr
= new wxColour((wxColour
&) result
);
11675 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11683 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxFontData
*arg1
= (wxFontData
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (arg1
)->GetChosenFont();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11702 wxFont
* resultptr
;
11703 resultptr
= new wxFont((wxFont
&) result
);
11704 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11712 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxFontData
*arg1
= (wxFontData
*) 0 ;
11716 PyObject
* obj0
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (bool)(arg1
)->GetEnableEffects();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= PyInt_FromLong((long)result
);
11737 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxFontData
*arg1
= (wxFontData
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (arg1
)->GetInitialFont();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11756 wxFont
* resultptr
;
11757 resultptr
= new wxFont((wxFont
&) result
);
11758 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11766 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxFontData
*arg1
= (wxFontData
*) 0 ;
11770 PyObject
* obj0
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (bool)(arg1
)->GetShowHelp();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= PyInt_FromLong((long)result
);
11791 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxFontData
*arg1
= (wxFontData
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "allowSymbols", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 arg2
= PyInt_AsLong(obj1
) ? true : false;
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 (arg1
)->SetAllowSymbols(arg2
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 Py_INCREF(Py_None
); resultobj
= Py_None
;
11819 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxFontData
*arg1
= (wxFontData
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self",(char *) "font", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11832 if (arg2
== NULL
) {
11833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 Py_INCREF(Py_None
); resultobj
= Py_None
;
11849 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxFontData
*arg1
= (wxFontData
*) 0 ;
11852 wxColour
*arg2
= 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "colour", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11864 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 (arg1
)->SetColour((wxColour
const &)*arg2
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 Py_INCREF(Py_None
); resultobj
= Py_None
;
11880 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxFontData
*arg1
= (wxFontData
*) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self",(char *) "font", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11893 if (arg2
== NULL
) {
11894 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 Py_INCREF(Py_None
); resultobj
= Py_None
;
11910 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxFontData
*arg1
= (wxFontData
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "min",(char *) "max", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetRange(arg2
,arg3
);
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 Py_INCREF(Py_None
); resultobj
= Py_None
;
11936 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxFontData
*arg1
= (wxFontData
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self",(char *) "showHelp", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11948 arg2
= PyInt_AsLong(obj1
) ? true : false;
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetShowHelp(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 Py_INCREF(Py_None
); resultobj
= Py_None
;
11964 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11967 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11969 return Py_BuildValue((char *)"");
11971 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxWindow
*arg1
= (wxWindow
*) 0 ;
11974 wxFontData
*arg2
= 0 ;
11975 wxFontDialog
*result
;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "parent",(char *) "data", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 if (arg2
== NULL
) {
11986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
12002 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12005 wxFontData
*result
;
12006 PyObject
* obj0
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12017 result
= (wxFontData
*) &_result_ref
;
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
12030 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (int)(arg1
)->ShowModal();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= PyInt_FromLong((long)result
);
12055 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12058 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12060 return Py_BuildValue((char *)"");
12062 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxWindow
*arg1
= (wxWindow
*) 0 ;
12065 wxString
*arg2
= 0 ;
12066 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12068 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12069 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12070 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12071 wxMessageDialog
*result
;
12072 bool temp2
= False
;
12073 bool temp3
= False
;
12075 PyObject
* obj0
= 0 ;
12076 PyObject
* obj1
= 0 ;
12077 PyObject
* obj2
= 0 ;
12078 PyObject
* obj4
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
12084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12086 arg2
= wxString_in_helper(obj1
);
12087 if (arg2
== NULL
) SWIG_fail
;
12092 arg3
= wxString_in_helper(obj2
);
12093 if (arg3
== NULL
) SWIG_fail
;
12100 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12133 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (int)(arg1
)->ShowModal();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= PyInt_FromLong((long)result
);
12158 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12161 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12163 return Py_BuildValue((char *)"");
12165 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxString
*arg1
= 0 ;
12168 wxString
*arg2
= 0 ;
12169 int arg3
= (int) 100 ;
12170 wxWindow
*arg4
= (wxWindow
*) NULL
;
12171 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12172 wxProgressDialog
*result
;
12173 bool temp1
= False
;
12174 bool temp2
= False
;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj1
= 0 ;
12177 PyObject
* obj3
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
12184 arg1
= wxString_in_helper(obj0
);
12185 if (arg1
== NULL
) SWIG_fail
;
12189 arg2
= wxString_in_helper(obj1
);
12190 if (arg2
== NULL
) SWIG_fail
;
12194 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12226 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12230 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12233 bool temp3
= False
;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj2
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12244 arg3
= wxString_in_helper(obj2
);
12245 if (arg3
== NULL
) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= PyInt_FromLong((long)result
);
12271 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12274 PyObject
* obj0
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 Py_INCREF(Py_None
); resultobj
= Py_None
;
12295 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12298 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12300 return Py_BuildValue((char *)"");
12302 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12305 int arg2
= (int) 0 ;
12306 wxFindDialogEvent
*result
;
12307 char *kwnames
[] = {
12308 (char *) "commandType",(char *) "id", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12326 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (int)(arg1
)->GetFlags();
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= PyInt_FromLong((long)result
);
12351 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (arg1
)->GetFindString();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12382 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12397 result
= (wxString
*) &_result_ref
;
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12410 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12413 wxFindReplaceDialog
*result
;
12414 PyObject
* obj0
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12435 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self",(char *) "flags", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetFlags(arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12463 wxString
*arg2
= 0 ;
12464 bool temp2
= False
;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "str", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12474 arg2
= wxString_in_helper(obj1
);
12475 if (arg2
== NULL
) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetFindString((wxString
const &)*arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12500 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12503 wxString
*arg2
= 0 ;
12504 bool temp2
= False
;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self",(char *) "str", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12514 arg2
= wxString_in_helper(obj1
);
12515 if (arg2
== NULL
) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 Py_INCREF(Py_None
); resultobj
= Py_None
;
12540 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12543 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12545 return Py_BuildValue((char *)"");
12547 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 int arg1
= (int) 0 ;
12550 wxFindReplaceData
*result
;
12551 char *kwnames
[] = {
12552 (char *) "flags", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12570 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 Py_INCREF(Py_None
); resultobj
= Py_None
;
12594 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 wxString
const &_result_ref
= (arg1
)->GetFindString();
12609 result
= (wxString
*) &_result_ref
;
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12622 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12637 result
= (wxString
*) &_result_ref
;
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
12650 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (int)(arg1
)->GetFlags();
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= PyInt_FromLong((long)result
);
12675 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self",(char *) "flags", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->SetFlags(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12703 wxString
*arg2
= 0 ;
12704 bool temp2
= False
;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "str", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12714 arg2
= wxString_in_helper(obj1
);
12715 if (arg2
== NULL
) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 (arg1
)->SetFindString((wxString
const &)*arg2
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 Py_INCREF(Py_None
); resultobj
= Py_None
;
12740 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12743 wxString
*arg2
= 0 ;
12744 bool temp2
= False
;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "str", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12754 arg2
= wxString_in_helper(obj1
);
12755 if (arg2
== NULL
) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 Py_INCREF(Py_None
); resultobj
= Py_None
;
12780 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12783 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12785 return Py_BuildValue((char *)"");
12787 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxWindow
*arg1
= (wxWindow
*) 0 ;
12790 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12791 wxString
*arg3
= 0 ;
12792 int arg4
= (int) 0 ;
12793 wxFindReplaceDialog
*result
;
12794 bool temp3
= False
;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 PyObject
* obj2
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12806 arg3
= wxString_in_helper(obj2
);
12807 if (arg3
== NULL
) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12832 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxFindReplaceDialog
*result
;
12835 char *kwnames
[] = {
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12854 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12857 wxWindow
*arg2
= (wxWindow
*) 0 ;
12858 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12859 wxString
*arg4
= 0 ;
12860 int arg5
= (int) 0 ;
12862 bool temp4
= False
;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 PyObject
* obj2
= 0 ;
12866 PyObject
* obj3
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12874 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12876 arg4
= wxString_in_helper(obj3
);
12877 if (arg4
== NULL
) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= PyInt_FromLong((long)result
);
12902 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12905 wxFindReplaceData
*result
;
12906 PyObject
* obj0
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12927 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12930 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self",(char *) "data", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12939 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 (arg1
)->SetData(arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12957 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12959 return Py_BuildValue((char *)"");
12961 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxWindow
*arg1
= (wxWindow
*) 0 ;
12965 wxString
*arg3
= 0 ;
12966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12970 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12971 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12972 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12973 wxMDIParentFrame
*result
;
12974 bool temp3
= False
;
12977 bool temp7
= False
;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj2
= 0 ;
12980 PyObject
* obj3
= 0 ;
12981 PyObject
* obj4
= 0 ;
12982 PyObject
* obj6
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12990 arg3
= wxString_in_helper(obj2
);
12991 if (arg3
== NULL
) SWIG_fail
;
12997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13008 arg7
= wxString_in_helper(obj6
);
13009 if (arg7
== NULL
) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13043 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxMDIParentFrame
*result
;
13046 char *kwnames
[] = {
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13065 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13068 wxWindow
*arg2
= (wxWindow
*) 0 ;
13070 wxString
*arg4
= 0 ;
13071 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13072 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13073 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13074 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13075 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13076 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13079 bool temp4
= False
;
13082 bool temp8
= False
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj3
= 0 ;
13086 PyObject
* obj4
= 0 ;
13087 PyObject
* obj5
= 0 ;
13088 PyObject
* obj7
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13097 arg4
= wxString_in_helper(obj3
);
13098 if (arg4
== NULL
) SWIG_fail
;
13104 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13110 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13115 arg8
= wxString_in_helper(obj7
);
13116 if (arg8
== NULL
) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= PyInt_FromLong((long)result
);
13150 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->ActivateNext();
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 (arg1
)->ActivatePrevious();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 Py_INCREF(Py_None
); resultobj
= Py_None
;
13198 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 (arg1
)->ArrangeIcons();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 Py_INCREF(Py_None
); resultobj
= Py_None
;
13222 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13249 wxMDIChildFrame
*result
;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= wxPyMake_wxObject(result
);
13273 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13276 wxMDIClientWindow
*result
;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= wxPyMake_wxObject(result
);
13300 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (wxWindow
*)(arg1
)->GetToolBar();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= wxPyMake_wxObject(result
);
13327 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13354 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13356 return Py_BuildValue((char *)"");
13358 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13362 wxString
*arg3
= 0 ;
13363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13367 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13368 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13370 wxMDIChildFrame
*result
;
13371 bool temp3
= False
;
13374 bool temp7
= False
;
13375 PyObject
* obj0
= 0 ;
13376 PyObject
* obj2
= 0 ;
13377 PyObject
* obj3
= 0 ;
13378 PyObject
* obj4
= 0 ;
13379 PyObject
* obj6
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13387 arg3
= wxString_in_helper(obj2
);
13388 if (arg3
== NULL
) SWIG_fail
;
13394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13405 arg7
= wxString_in_helper(obj6
);
13406 if (arg7
== NULL
) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= wxPyMake_wxObject(result
);
13442 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxMDIChildFrame
*result
;
13445 char *kwnames
[] = {
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= wxPyMake_wxObject(result
);
13466 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13469 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13471 wxString
*arg4
= 0 ;
13472 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13473 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13474 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13475 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13476 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13477 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13478 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13480 bool temp4
= False
;
13483 bool temp8
= False
;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj3
= 0 ;
13487 PyObject
* obj4
= 0 ;
13488 PyObject
* obj5
= 0 ;
13489 PyObject
* obj7
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13496 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13498 arg4
= wxString_in_helper(obj3
);
13499 if (arg4
== NULL
) SWIG_fail
;
13505 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13511 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13516 arg8
= wxString_in_helper(obj7
);
13517 if (arg8
== NULL
) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= PyInt_FromLong((long)result
);
13551 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13554 PyObject
* obj0
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 (arg1
)->Activate();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 Py_INCREF(Py_None
); resultobj
= Py_None
;
13575 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self",(char *) "maximize", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13587 arg2
= PyInt_AsLong(obj1
) ? true : false;
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 (arg1
)->Maximize(arg2
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 Py_INCREF(Py_None
); resultobj
= Py_None
;
13603 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 Py_INCREF(Py_None
); resultobj
= Py_None
;
13627 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13630 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13632 return Py_BuildValue((char *)"");
13634 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13637 long arg2
= (long) 0 ;
13638 wxMDIClientWindow
*result
;
13639 PyObject
* obj0
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "parent",(char *) "style", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= wxPyMake_wxObject(result
);
13662 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxMDIClientWindow
*result
;
13665 char *kwnames
[] = {
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13678 resultobj
= wxPyMake_wxObject(result
);
13686 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13689 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13690 long arg3
= (long) 0 ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self",(char *) "parent",(char *) "style", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= PyInt_FromLong((long)result
);
13715 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13718 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13720 return Py_BuildValue((char *)"");
13722 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxWindow
*arg1
= (wxWindow
*) 0 ;
13726 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13727 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13728 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13729 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13730 long arg5
= (long) 0 ;
13731 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13732 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13733 wxPyWindow
*result
;
13736 bool temp6
= False
;
13737 PyObject
* obj0
= 0 ;
13738 PyObject
* obj2
= 0 ;
13739 PyObject
* obj3
= 0 ;
13740 PyObject
* obj5
= 0 ;
13741 char *kwnames
[] = {
13742 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13756 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13761 arg6
= wxString_in_helper(obj5
);
13762 if (arg6
== NULL
) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13788 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13791 PyObject
*arg2
= (PyObject
*) 0 ;
13792 PyObject
*arg3
= (PyObject
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 PyObject
* obj1
= 0 ;
13795 PyObject
* obj2
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "self",(char *) "_class", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 Py_INCREF(Py_None
); resultobj
= Py_None
;
13818 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 Py_INCREF(Py_None
); resultobj
= Py_None
;
13846 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13853 int arg6
= (int) wxSIZE_AUTO
;
13854 PyObject
* obj0
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13875 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self",(char *) "width",(char *) "height", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 Py_INCREF(Py_None
); resultobj
= Py_None
;
13901 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13906 PyObject
* obj0
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self",(char *) "x",(char *) "y", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 Py_INCREF(Py_None
); resultobj
= Py_None
;
13927 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13930 int *arg2
= (int *) 0 ;
13931 int *arg3
= (int *) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 Py_INCREF(Py_None
); resultobj
= Py_None
;
13952 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13953 resultobj
= t_output_helper(resultobj
,o
);
13956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13957 resultobj
= t_output_helper(resultobj
,o
);
13965 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13968 int *arg2
= (int *) 0 ;
13969 int *arg3
= (int *) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 Py_INCREF(Py_None
); resultobj
= Py_None
;
13990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13991 resultobj
= t_output_helper(resultobj
,o
);
13994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13995 resultobj
= t_output_helper(resultobj
,o
);
14003 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14006 int *arg2
= (int *) 0 ;
14007 int *arg3
= (int *) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self", NULL
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 Py_INCREF(Py_None
); resultobj
= Py_None
;
14028 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14029 resultobj
= t_output_helper(resultobj
,o
);
14032 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14033 resultobj
= t_output_helper(resultobj
,o
);
14041 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 wxSize
* resultptr
;
14061 resultptr
= new wxSize((wxSize
&) result
);
14062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14070 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 wxSize
* resultptr
;
14090 resultptr
= new wxSize((wxSize
&) result
);
14091 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14099 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14102 PyObject
* obj0
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 (arg1
)->base_InitDialog();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 Py_INCREF(Py_None
); resultobj
= Py_None
;
14123 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (bool)(arg1
)->base_TransferDataToWindow();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= PyInt_FromLong((long)result
);
14148 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= PyInt_FromLong((long)result
);
14173 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (bool)(arg1
)->base_Validate();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= PyInt_FromLong((long)result
);
14198 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= PyInt_FromLong((long)result
);
14223 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= PyInt_FromLong((long)result
);
14248 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 wxSize
* resultptr
;
14268 resultptr
= new wxSize((wxSize
&) result
);
14269 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14277 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14280 wxWindow
*arg2
= (wxWindow
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 PyObject
* obj1
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self",(char *) "child", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 (arg1
)->base_AddChild(arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 Py_INCREF(Py_None
); resultobj
= Py_None
;
14304 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14307 wxWindow
*arg2
= (wxWindow
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self",(char *) "child", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 (arg1
)->base_RemoveChild(arg2
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 Py_INCREF(Py_None
); resultobj
= Py_None
;
14331 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14334 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14336 return Py_BuildValue((char *)"");
14338 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxWindow
*arg1
= (wxWindow
*) 0 ;
14342 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14343 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14344 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14345 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14346 long arg5
= (long) 0 ;
14347 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14348 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14352 bool temp6
= False
;
14353 PyObject
* obj0
= 0 ;
14354 PyObject
* obj2
= 0 ;
14355 PyObject
* obj3
= 0 ;
14356 PyObject
* obj5
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14372 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14377 arg6
= wxString_in_helper(obj5
);
14378 if (arg6
== NULL
) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14404 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14407 PyObject
*arg2
= (PyObject
*) 0 ;
14408 PyObject
*arg3
= (PyObject
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 PyObject
* obj1
= 0 ;
14411 PyObject
* obj2
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self",(char *) "self",(char *) "_class", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 Py_INCREF(Py_None
); resultobj
= Py_None
;
14434 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 Py_INCREF(Py_None
); resultobj
= Py_None
;
14462 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14469 int arg6
= (int) wxSIZE_AUTO
;
14470 PyObject
* obj0
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 Py_INCREF(Py_None
); resultobj
= Py_None
;
14491 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "width",(char *) "height", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 Py_INCREF(Py_None
); resultobj
= Py_None
;
14517 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self",(char *) "x",(char *) "y", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14546 int *arg2
= (int *) 0 ;
14547 int *arg3
= (int *) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14568 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14569 resultobj
= t_output_helper(resultobj
,o
);
14572 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14573 resultobj
= t_output_helper(resultobj
,o
);
14581 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14584 int *arg2
= (int *) 0 ;
14585 int *arg3
= (int *) 0 ;
14588 PyObject
* obj0
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 Py_INCREF(Py_None
); resultobj
= Py_None
;
14606 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14607 resultobj
= t_output_helper(resultobj
,o
);
14610 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14611 resultobj
= t_output_helper(resultobj
,o
);
14619 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14622 int *arg2
= (int *) 0 ;
14623 int *arg3
= (int *) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 Py_INCREF(Py_None
); resultobj
= Py_None
;
14644 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14645 resultobj
= t_output_helper(resultobj
,o
);
14648 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14649 resultobj
= t_output_helper(resultobj
,o
);
14657 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14676 wxSize
* resultptr
;
14677 resultptr
= new wxSize((wxSize
&) result
);
14678 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14686 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 wxSize
* resultptr
;
14706 resultptr
= new wxSize((wxSize
&) result
);
14707 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14715 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 (arg1
)->base_InitDialog();
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 Py_INCREF(Py_None
); resultobj
= Py_None
;
14739 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14743 PyObject
* obj0
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (bool)(arg1
)->base_TransferDataToWindow();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= PyInt_FromLong((long)result
);
14764 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= PyInt_FromLong((long)result
);
14789 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)(arg1
)->base_Validate();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= PyInt_FromLong((long)result
);
14814 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= PyInt_FromLong((long)result
);
14839 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= PyInt_FromLong((long)result
);
14864 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14883 wxSize
* resultptr
;
14884 resultptr
= new wxSize((wxSize
&) result
);
14885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14893 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14896 wxWindow
*arg2
= (wxWindow
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self",(char *) "child", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14905 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 (arg1
)->base_AddChild(arg2
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 Py_INCREF(Py_None
); resultobj
= Py_None
;
14920 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14923 wxWindow
*arg2
= (wxWindow
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self",(char *) "child", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 (arg1
)->base_RemoveChild(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 Py_INCREF(Py_None
); resultobj
= Py_None
;
14947 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14950 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14952 return Py_BuildValue((char *)"");
14954 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxPrintData
*result
;
14957 char *kwnames
[] = {
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxPrintData
*)new wxPrintData();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14976 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (int)(arg1
)->GetNoCopies();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= PyInt_FromLong((long)result
);
15025 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (bool)(arg1
)->GetCollate();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= PyInt_FromLong((long)result
);
15050 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (int)(arg1
)->GetOrientation();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= PyInt_FromLong((long)result
);
15075 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (bool)(arg1
)->Ok();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= PyInt_FromLong((long)result
);
15100 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
15115 result
= (wxString
*) &_result_ref
;
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15128 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (bool)(arg1
)->GetColour();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= PyInt_FromLong((long)result
);
15153 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (int)(arg1
)->GetDuplex();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= PyInt_FromLong((long)result
);
15178 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (int)(arg1
)->GetPaperId();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= PyInt_FromLong((long)result
);
15203 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15218 result
= (wxSize
*) &_result_ref
;
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15231 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15234 wxPrintQuality result
;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (arg1
)->GetQuality();
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 wxPrintQuality
* resultptr
;
15251 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
15252 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
15260 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self",(char *) "v", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 (arg1
)->SetNoCopies(arg2
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 Py_INCREF(Py_None
); resultobj
= Py_None
;
15285 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self",(char *) "flag", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15297 arg2
= PyInt_AsLong(obj1
) ? true : false;
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->SetCollate(arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self",(char *) "orient", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 (arg1
)->SetOrientation(arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 Py_INCREF(Py_None
); resultobj
= Py_None
;
15338 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15341 wxString
*arg2
= 0 ;
15342 bool temp2
= False
;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "name", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15352 arg2
= wxString_in_helper(obj1
);
15353 if (arg2
== NULL
) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 Py_INCREF(Py_None
); resultobj
= Py_None
;
15378 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self",(char *) "colour", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15390 arg2
= PyInt_AsLong(obj1
) ? true : false;
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 (arg1
)->SetColour(arg2
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 Py_INCREF(Py_None
); resultobj
= Py_None
;
15406 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "duplex", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 Py_INCREF(Py_None
); resultobj
= Py_None
;
15431 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "sizeId", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 Py_INCREF(Py_None
); resultobj
= Py_None
;
15456 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "sz", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 Py_INCREF(Py_None
); resultobj
= Py_None
;
15487 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15490 wxPrintQuality arg2
;
15491 wxPrintQuality
*argp2
;
15492 PyObject
* obj0
= 0 ;
15493 PyObject
* obj1
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self",(char *) "quality", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15500 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->SetQuality(arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15531 result
= (wxString
*) &_result_ref
;
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15544 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15559 result
= (wxString
*) &_result_ref
;
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15572 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15587 result
= (wxString
*) &_result_ref
;
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15600 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 wxString
const &_result_ref
= (arg1
)->GetFilename();
15615 result
= (wxString
*) &_result_ref
;
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15628 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15643 result
= (wxString
*) &_result_ref
;
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15656 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (double)(arg1
)->GetPrinterScaleX();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= PyFloat_FromDouble(result
);
15681 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15685 PyObject
* obj0
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "self", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (double)(arg1
)->GetPrinterScaleY();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= PyFloat_FromDouble(result
);
15706 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (long)(arg1
)->GetPrinterTranslateX();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= PyInt_FromLong((long)result
);
15731 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15735 PyObject
* obj0
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (long)(arg1
)->GetPrinterTranslateY();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= PyInt_FromLong((long)result
);
15756 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (int)(arg1
)->GetPrintMode();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= PyInt_FromLong((long)result
);
15781 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15784 wxString
*arg2
= 0 ;
15785 bool temp2
= False
;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self",(char *) "command", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15795 arg2
= wxString_in_helper(obj1
);
15796 if (arg2
== NULL
) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15824 wxString
*arg2
= 0 ;
15825 bool temp2
= False
;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self",(char *) "options", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15835 arg2
= wxString_in_helper(obj1
);
15836 if (arg2
== NULL
) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 Py_INCREF(Py_None
); resultobj
= Py_None
;
15861 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15864 wxString
*arg2
= 0 ;
15865 bool temp2
= False
;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self",(char *) "command", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15875 arg2
= wxString_in_helper(obj1
);
15876 if (arg2
== NULL
) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 Py_INCREF(Py_None
); resultobj
= Py_None
;
15901 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15904 wxString
*arg2
= 0 ;
15905 bool temp2
= False
;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self",(char *) "filename", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15915 arg2
= wxString_in_helper(obj1
);
15916 if (arg2
== NULL
) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 (arg1
)->SetFilename((wxString
const &)*arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 Py_INCREF(Py_None
); resultobj
= Py_None
;
15941 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15944 wxString
*arg2
= 0 ;
15945 bool temp2
= False
;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "path", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15955 arg2
= wxString_in_helper(obj1
);
15956 if (arg2
== NULL
) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self",(char *) "x", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 (arg1
)->SetPrinterScaleX(arg2
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 Py_INCREF(Py_None
); resultobj
= Py_None
;
16006 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self",(char *) "y", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 (arg1
)->SetPrinterScaleY(arg2
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16031 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "x",(char *) "y", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 (arg1
)->SetPrinterScaling(arg2
,arg3
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16050 Py_INCREF(Py_None
); resultobj
= Py_None
;
16057 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16061 PyObject
* obj0
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self",(char *) "x", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
16067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 (arg1
)->SetPrinterTranslateX(arg2
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 Py_INCREF(Py_None
); resultobj
= Py_None
;
16082 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self",(char *) "y", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 (arg1
)->SetPrinterTranslateY(arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self",(char *) "x",(char *) "y", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 Py_INCREF(Py_None
); resultobj
= Py_None
;
16133 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "printMode", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 Py_INCREF(Py_None
); resultobj
= Py_None
;
16158 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
16160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16161 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
16163 return Py_BuildValue((char *)"");
16165 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxPageSetupDialogData
*result
;
16168 char *kwnames
[] = {
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16187 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16190 PyObject
* obj0
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 Py_INCREF(Py_None
); resultobj
= Py_None
;
16211 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self",(char *) "flag", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16223 arg2
= PyInt_AsLong(obj1
) ? true : false;
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 (arg1
)->EnableHelp(arg2
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 Py_INCREF(Py_None
); resultobj
= Py_None
;
16239 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self",(char *) "flag", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16251 arg2
= PyInt_AsLong(obj1
) ? true : false;
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 (arg1
)->EnableMargins(arg2
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 Py_INCREF(Py_None
); resultobj
= Py_None
;
16267 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 PyObject
* obj1
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self",(char *) "flag", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16279 arg2
= PyInt_AsLong(obj1
) ? true : false;
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 (arg1
)->EnableOrientation(arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 Py_INCREF(Py_None
); resultobj
= Py_None
;
16295 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "flag", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16307 arg2
= PyInt_AsLong(obj1
) ? true : false;
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->EnablePaper(arg2
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self",(char *) "flag", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16335 arg2
= PyInt_AsLong(obj1
) ? true : false;
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 (arg1
)->EnablePrinter(arg2
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 Py_INCREF(Py_None
); resultobj
= Py_None
;
16351 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)(arg1
)->GetDefaultMinMargins();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= PyInt_FromLong((long)result
);
16376 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16380 PyObject
* obj0
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)(arg1
)->GetEnableMargins();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= PyInt_FromLong((long)result
);
16401 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (bool)(arg1
)->GetEnableOrientation();
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 resultobj
= PyInt_FromLong((long)result
);
16426 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (bool)(arg1
)->GetEnablePaper();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= PyInt_FromLong((long)result
);
16451 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (bool)(arg1
)->GetEnablePrinter();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= PyInt_FromLong((long)result
);
16476 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= (bool)(arg1
)->GetEnableHelp();
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= PyInt_FromLong((long)result
);
16501 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)(arg1
)->GetDefaultInfo();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= PyInt_FromLong((long)result
);
16526 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (arg1
)->GetMarginTopLeft();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 wxPoint
* resultptr
;
16546 resultptr
= new wxPoint((wxPoint
&) result
);
16547 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16555 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (arg1
)->GetMarginBottomRight();
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 wxPoint
* resultptr
;
16575 resultptr
= new wxPoint((wxPoint
&) result
);
16576 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16584 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (arg1
)->GetMinMarginTopLeft();
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16603 wxPoint
* resultptr
;
16604 resultptr
= new wxPoint((wxPoint
&) result
);
16605 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16613 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
;
16615 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16617 PyObject
* obj0
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (arg1
)->GetMinMarginBottomRight();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 wxPoint
* resultptr
;
16633 resultptr
= new wxPoint((wxPoint
&) result
);
16634 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16642 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (int)(arg1
)->GetPaperId();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyInt_FromLong((long)result
);
16667 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (arg1
)->GetPaperSize();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 wxSize
* resultptr
;
16687 resultptr
= new wxSize((wxSize
&) result
);
16688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16696 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16699 wxPrintData
*result
;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16711 result
= (wxPrintData
*) &_result_ref
;
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16724 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (bool)(arg1
)->Ok();
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= PyInt_FromLong((long)result
);
16749 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self",(char *) "flag", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16761 arg2
= PyInt_AsLong(obj1
) ? true : false;
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 (arg1
)->SetDefaultInfo(arg2
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 Py_INCREF(Py_None
); resultobj
= Py_None
;
16777 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self",(char *) "flag", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16789 arg2
= PyInt_AsLong(obj1
) ? true : false;
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 (arg1
)->SetDefaultMinMargins(arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16808 wxPoint
*arg2
= 0 ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "pt", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16820 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 Py_INCREF(Py_None
); resultobj
= Py_None
;
16836 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16839 wxPoint
*arg2
= 0 ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "self",(char *) "pt", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 Py_INCREF(Py_None
); resultobj
= Py_None
;
16867 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16870 wxPoint
*arg2
= 0 ;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self",(char *) "pt", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 Py_INCREF(Py_None
); resultobj
= Py_None
;
16898 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16901 wxPoint
*arg2
= 0 ;
16903 PyObject
* obj0
= 0 ;
16904 PyObject
* obj1
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self",(char *) "pt", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 Py_INCREF(Py_None
); resultobj
= Py_None
;
16929 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16933 PyObject
* obj0
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self",(char *) "id", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 Py_INCREF(Py_None
); resultobj
= Py_None
;
16954 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self",(char *) "size", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16969 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16988 wxPrintData
*arg2
= 0 ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self",(char *) "printData", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16998 if (arg2
== NULL
) {
16999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 Py_INCREF(Py_None
); resultobj
= Py_None
;
17015 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17018 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
17020 return Py_BuildValue((char *)"");
17022 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxWindow
*arg1
= (wxWindow
*) 0 ;
17025 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
17026 wxPageSetupDialog
*result
;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "parent",(char *) "data", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
17052 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17055 wxPageSetupDialogData
*result
;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
17067 result
= (wxPageSetupDialogData
*) &_result_ref
;
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
17080 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (int)(arg1
)->ShowModal();
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= PyInt_FromLong((long)result
);
17105 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17108 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
17110 return Py_BuildValue((char *)"");
17112 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxPrintDialogData
*result
;
17115 char *kwnames
[] = {
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (wxPrintDialogData
*)new wxPrintDialogData();
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
17134 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",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();
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 Py_INCREF(Py_None
); resultobj
= Py_None
;
17158 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= PyInt_FromLong((long)result
);
17183 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= PyInt_FromLong((long)result
);
17208 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17212 PyObject
* obj0
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= PyInt_FromLong((long)result
);
17233 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= PyInt_FromLong((long)result
);
17258 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= PyInt_FromLong((long)result
);
17283 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= PyInt_FromLong((long)result
);
17308 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= PyInt_FromLong((long)result
);
17333 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= PyInt_FromLong((long)result
);
17358 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17362 PyObject
* obj0
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= PyInt_FromLong((long)result
);
17383 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= PyInt_FromLong((long)result
);
17408 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "v", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 (arg1
)->SetFromPage(arg2
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 Py_INCREF(Py_None
); resultobj
= Py_None
;
17433 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17437 PyObject
* obj0
= 0 ;
17438 char *kwnames
[] = {
17439 (char *) "self",(char *) "v", NULL
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 (arg1
)->SetToPage(arg2
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 Py_INCREF(Py_None
); resultobj
= Py_None
;
17458 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "v", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->SetMinPage(arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "v", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 (arg1
)->SetMaxPage(arg2
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17508 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "v", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->SetNoCopies(arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self",(char *) "flag", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17545 arg2
= PyInt_AsLong(obj1
) ? true : false;
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 (arg1
)->SetAllPages(arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 Py_INCREF(Py_None
); resultobj
= Py_None
;
17561 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "flag", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17573 arg2
= PyInt_AsLong(obj1
) ? true : false;
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 (arg1
)->SetSelection(arg2
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 Py_INCREF(Py_None
); resultobj
= Py_None
;
17589 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self",(char *) "flag", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17601 arg2
= PyInt_AsLong(obj1
) ? true : false;
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->SetCollate(arg2
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17617 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "flag", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17629 arg2
= PyInt_AsLong(obj1
) ? true : false;
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 (arg1
)->SetPrintToFile(arg2
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 Py_INCREF(Py_None
); resultobj
= Py_None
;
17645 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self",(char *) "flag", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17657 arg2
= PyInt_AsLong(obj1
) ? true : false;
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 (arg1
)->SetSetupDialog(arg2
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17666 Py_INCREF(Py_None
); resultobj
= Py_None
;
17673 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self",(char *) "flag", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17685 arg2
= PyInt_AsLong(obj1
) ? true : false;
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->EnablePrintToFile(arg2
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 Py_INCREF(Py_None
); resultobj
= Py_None
;
17701 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 PyObject
* obj1
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self",(char *) "flag", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 arg2
= PyInt_AsLong(obj1
) ? true : false;
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 (arg1
)->EnableSelection(arg2
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "flag", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17741 arg2
= PyInt_AsLong(obj1
) ? true : false;
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 (arg1
)->EnablePageNumbers(arg2
);
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 Py_INCREF(Py_None
); resultobj
= Py_None
;
17757 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self",(char *) "flag", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17769 arg2
= PyInt_AsLong(obj1
) ? true : false;
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 (arg1
)->EnableHelp(arg2
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 Py_INCREF(Py_None
); resultobj
= Py_None
;
17785 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= PyInt_FromLong((long)result
);
17810 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= PyInt_FromLong((long)result
);
17835 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= PyInt_FromLong((long)result
);
17860 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= PyInt_FromLong((long)result
);
17885 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17887 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17889 PyObject
* obj0
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= PyInt_FromLong((long)result
);
17910 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17913 wxPrintData
*result
;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17925 result
= (wxPrintData
*) &_result_ref
;
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17938 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17941 wxPrintData
*arg2
= 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "printData", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17951 if (arg2
== NULL
) {
17952 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 Py_INCREF(Py_None
); resultobj
= Py_None
;
17968 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17971 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17973 return Py_BuildValue((char *)"");
17975 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxWindow
*arg1
= (wxWindow
*) 0 ;
17978 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17979 wxPrintDialog
*result
;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "parent",(char *) "data", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
18005 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18008 wxPrintDialogData
*result
;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18020 result
= (wxPrintDialogData
*) &_result_ref
;
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18033 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 result
= (wxDC
*)(arg1
)->GetPrintDC();
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= wxPyMake_wxObject(result
);
18060 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (int)(arg1
)->ShowModal();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= PyInt_FromLong((long)result
);
18085 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18088 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
18090 return Py_BuildValue((char *)"");
18092 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
18096 PyObject
* obj0
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "data", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (wxPrinter
*)new wxPrinter(arg1
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
18119 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 Py_INCREF(Py_None
); resultobj
= Py_None
;
18143 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18146 wxWindow
*arg2
= (wxWindow
*) 0 ;
18147 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 PyObject
* obj2
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "parent",(char *) "printout", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18158 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 (arg1
)->CreateAbortWindow(arg2
,arg3
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 Py_INCREF(Py_None
); resultobj
= Py_None
;
18173 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18176 wxPrintDialogData
*result
;
18177 PyObject
* obj0
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18188 result
= (wxPrintDialogData
*) &_result_ref
;
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18201 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18204 wxWindow
*arg2
= (wxWindow
*) 0 ;
18205 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18206 int arg4
= (int) True
;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 PyObject
* obj2
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18218 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= PyInt_FromLong((long)result
);
18233 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18236 wxWindow
*arg2
= (wxWindow
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self",(char *) "parent", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= wxPyMake_wxObject(result
);
18263 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18266 wxWindow
*arg2
= (wxWindow
*) 0 ;
18267 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18268 wxString
*arg4
= 0 ;
18269 bool temp4
= False
;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 PyObject
* obj2
= 0 ;
18273 PyObject
* obj3
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18281 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18283 arg4
= wxString_in_helper(obj3
);
18284 if (arg4
== NULL
) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 Py_INCREF(Py_None
); resultobj
= Py_None
;
18309 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18312 wxWindow
*arg2
= (wxWindow
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self",(char *) "parent", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (bool)(arg1
)->Setup(arg2
);
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= PyInt_FromLong((long)result
);
18337 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (bool)(arg1
)->GetAbort();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= PyInt_FromLong((long)result
);
18362 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18365 char *kwnames
[] = {
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (int)wxPrinter::GetLastError();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= PyInt_FromLong((long)result
);
18384 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18387 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18389 return Py_BuildValue((char *)"");
18391 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18394 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18395 wxPyPrintout
*result
;
18396 bool temp1
= False
;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "title", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18405 arg1
= wxString_in_helper(obj0
);
18406 if (arg1
== NULL
) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= wxPyMake_wxObject(result
);
18434 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18437 PyObject
*arg2
= (PyObject
*) 0 ;
18438 PyObject
*arg3
= (PyObject
*) 0 ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 PyObject
* obj2
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "self",(char *) "_class", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 Py_INCREF(Py_None
); resultobj
= Py_None
;
18464 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18495 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 result
= (wxDC
*)(arg1
)->GetDC();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= wxPyMake_wxObject(result
);
18522 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18525 wxDC
*arg2
= (wxDC
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 char *kwnames
[] = {
18529 (char *) "self",(char *) "dc", NULL
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 (arg1
)->SetDC(arg2
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 Py_INCREF(Py_None
); resultobj
= Py_None
;
18549 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self",(char *) "w",(char *) "h", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 Py_INCREF(Py_None
); resultobj
= Py_None
;
18575 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18578 int *arg2
= (int *) 0 ;
18579 int *arg3
= (int *) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 Py_INCREF(Py_None
); resultobj
= Py_None
;
18600 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18601 resultobj
= t_output_helper(resultobj
,o
);
18604 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18605 resultobj
= t_output_helper(resultobj
,o
);
18613 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self",(char *) "w",(char *) "h", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18639 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18642 int *arg2
= (int *) 0 ;
18643 int *arg3
= (int *) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18665 resultobj
= t_output_helper(resultobj
,o
);
18668 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18669 resultobj
= t_output_helper(resultobj
,o
);
18677 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "x",(char *) "y", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 (arg1
)->SetPPIScreen(arg2
,arg3
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 Py_INCREF(Py_None
); resultobj
= Py_None
;
18703 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18706 int *arg2
= (int *) 0 ;
18707 int *arg3
= (int *) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->GetPPIScreen(arg2
,arg3
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18728 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18729 resultobj
= t_output_helper(resultobj
,o
);
18732 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18733 resultobj
= t_output_helper(resultobj
,o
);
18741 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self",(char *) "x",(char *) "y", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) 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
)->SetPPIPrinter(arg2
,arg3
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 Py_INCREF(Py_None
); resultobj
= Py_None
;
18767 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18770 int *arg2
= (int *) 0 ;
18771 int *arg3
= (int *) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 Py_INCREF(Py_None
); resultobj
= Py_None
;
18792 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18793 resultobj
= t_output_helper(resultobj
,o
);
18796 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18797 resultobj
= t_output_helper(resultobj
,o
);
18805 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (bool)(arg1
)->IsPreview();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= PyInt_FromLong((long)result
);
18830 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self",(char *) "p", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18842 arg2
= PyInt_AsLong(obj1
) ? true : false;
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 (arg1
)->SetIsPreview(arg2
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 Py_INCREF(Py_None
); resultobj
= Py_None
;
18858 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= PyInt_FromLong((long)result
);
18885 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 (arg1
)->base_OnEndDocument();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 Py_INCREF(Py_None
); resultobj
= Py_None
;
18909 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 (arg1
)->base_OnBeginPrinting();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 (arg1
)->base_OnEndPrinting();
18947 wxPyEndAllowThreads(__tstate
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18950 Py_INCREF(Py_None
); resultobj
= Py_None
;
18957 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 (arg1
)->base_OnPreparePrinting();
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 Py_INCREF(Py_None
); resultobj
= Py_None
;
18981 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self",(char *) "page", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (bool)(arg1
)->base_HasPage(arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= PyInt_FromLong((long)result
);
19007 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19010 int *arg2
= (int *) 0 ;
19011 int *arg3
= (int *) 0 ;
19012 int *arg4
= (int *) 0 ;
19013 int *arg5
= (int *) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
19028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19039 resultobj
= t_output_helper(resultobj
,o
);
19042 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19043 resultobj
= t_output_helper(resultobj
,o
);
19046 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
19047 resultobj
= t_output_helper(resultobj
,o
);
19050 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
19051 resultobj
= t_output_helper(resultobj
,o
);
19059 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
19061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19062 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
19064 return Py_BuildValue((char *)"");
19066 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19069 wxWindow
*arg2
= (wxWindow
*) 0 ;
19070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19074 long arg5
= (long) 0 ;
19075 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
19076 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19077 wxPreviewCanvas
*result
;
19080 bool temp6
= False
;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 PyObject
* obj2
= 0 ;
19084 PyObject
* obj3
= 0 ;
19085 PyObject
* obj5
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19092 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19107 arg6
= wxString_in_helper(obj5
);
19108 if (arg6
== NULL
) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
19134 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
19136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19137 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
19139 return Py_BuildValue((char *)"");
19141 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19144 wxFrame
*arg2
= (wxFrame
*) 0 ;
19145 wxString
*arg3
= 0 ;
19146 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19147 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19148 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19149 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19150 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19151 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19152 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19153 wxPreviewFrame
*result
;
19154 bool temp3
= False
;
19157 bool temp7
= False
;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 PyObject
* obj2
= 0 ;
19161 PyObject
* obj3
= 0 ;
19162 PyObject
* obj4
= 0 ;
19163 PyObject
* obj6
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19172 arg3
= wxString_in_helper(obj2
);
19173 if (arg3
== NULL
) SWIG_fail
;
19179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19190 arg7
= wxString_in_helper(obj6
);
19191 if (arg7
== NULL
) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19225 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 (arg1
)->Initialize();
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 (arg1
)->CreateControlBar();
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 Py_INCREF(Py_None
); resultobj
= Py_None
;
19273 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 (arg1
)->CreateCanvas();
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19297 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19300 wxPreviewControlBar
*result
;
19301 PyObject
* obj0
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19322 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19325 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19327 return Py_BuildValue((char *)"");
19329 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19333 wxWindow
*arg3
= (wxWindow
*) 0 ;
19334 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19335 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19336 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19337 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19338 long arg6
= (long) wxTAB_TRAVERSAL
;
19339 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19340 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19341 wxPreviewControlBar
*result
;
19344 bool temp7
= False
;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj2
= 0 ;
19347 PyObject
* obj3
= 0 ;
19348 PyObject
* obj4
= 0 ;
19349 PyObject
* obj6
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19356 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19371 arg7
= wxString_in_helper(obj6
);
19372 if (arg7
== NULL
) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19398 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (int)(arg1
)->GetZoomControl();
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= PyInt_FromLong((long)result
);
19423 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "zoom", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 (arg1
)->SetZoomControl(arg2
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 Py_INCREF(Py_None
); resultobj
= Py_None
;
19448 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19451 wxPrintPreview
*result
;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19473 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19497 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 (arg1
)->OnPrevious();
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 Py_INCREF(Py_None
); resultobj
= Py_None
;
19521 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 Py_INCREF(Py_None
); resultobj
= Py_None
;
19545 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 Py_INCREF(Py_None
); resultobj
= Py_None
;
19569 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 Py_INCREF(Py_None
); resultobj
= Py_None
;
19593 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19596 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19598 return Py_BuildValue((char *)"");
19600 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19603 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19604 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19605 wxPrintPreview
*result
;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 PyObject
* obj2
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19617 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19633 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self",(char *) "pageNum", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= PyInt_FromLong((long)result
);
19659 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19663 PyObject
* obj0
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (int)(arg1
)->GetCurrentPage();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= PyInt_FromLong((long)result
);
19684 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19687 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 PyObject
* obj1
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self",(char *) "printout", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19696 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->SetPrintout(arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 Py_INCREF(Py_None
); resultobj
= Py_None
;
19711 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19714 wxPyPrintout
*result
;
19715 PyObject
* obj0
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= wxPyMake_wxObject(result
);
19738 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19741 wxPyPrintout
*result
;
19742 PyObject
* obj0
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= wxPyMake_wxObject(result
);
19765 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19768 wxFrame
*arg2
= (wxFrame
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "frame", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->SetFrame(arg2
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 Py_INCREF(Py_None
); resultobj
= Py_None
;
19792 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19795 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "canvas", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 (arg1
)->SetCanvas(arg2
);
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 Py_INCREF(Py_None
); resultobj
= Py_None
;
19819 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19823 PyObject
* obj0
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (wxFrame
*)(arg1
)->GetFrame();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= wxPyMake_wxObject(result
);
19846 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19849 wxPreviewCanvas
*result
;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19871 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
;
19873 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19874 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 PyObject
* obj2
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19887 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19888 if (arg3
== NULL
) {
19889 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= PyInt_FromLong((long)result
);
19905 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19908 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 PyObject
* obj2
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19921 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19922 if (arg3
== NULL
) {
19923 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= PyInt_FromLong((long)result
);
19939 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "pageNum", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (bool)(arg1
)->RenderPage(arg2
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= PyInt_FromLong((long)result
);
19965 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19968 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self",(char *) "canvas", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 (arg1
)->AdjustScrollbars(arg2
);
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 Py_INCREF(Py_None
); resultobj
= Py_None
;
19992 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19995 wxPrintDialogData
*result
;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20007 result
= (wxPrintDialogData
*) &_result_ref
;
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
20020 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "percent", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 (arg1
)->SetZoom(arg2
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 Py_INCREF(Py_None
); resultobj
= Py_None
;
20045 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (int)(arg1
)->GetZoom();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= PyInt_FromLong((long)result
);
20070 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (int)(arg1
)->GetMaxPage();
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= PyInt_FromLong((long)result
);
20095 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (int)(arg1
)->GetMinPage();
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= PyInt_FromLong((long)result
);
20120 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 result
= (bool)(arg1
)->Ok();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= PyInt_FromLong((long)result
);
20145 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self",(char *) "ok", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20157 arg2
= PyInt_AsLong(obj1
) ? true : false;
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 (arg1
)->SetOk(arg2
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 Py_INCREF(Py_None
); resultobj
= Py_None
;
20173 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
;
20175 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self",(char *) "interactive", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20186 arg2
= PyInt_AsLong(obj1
) ? true : false;
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (bool)(arg1
)->Print(arg2
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= PyInt_FromLong((long)result
);
20202 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 (arg1
)->DetermineScaling();
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 Py_INCREF(Py_None
); resultobj
= Py_None
;
20226 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20229 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20231 return Py_BuildValue((char *)"");
20233 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20236 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20237 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20238 wxPyPrintPreview
*result
;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 PyObject
* obj2
= 0 ;
20242 char *kwnames
[] = {
20243 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20250 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20266 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20269 PyObject
*arg2
= (PyObject
*) 0 ;
20270 PyObject
*arg3
= (PyObject
*) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 PyObject
* obj2
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self",(char *) "self",(char *) "_class", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 Py_INCREF(Py_None
); resultobj
= Py_None
;
20296 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20301 PyObject
* obj0
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "self",(char *) "pageNum", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= PyInt_FromLong((long)result
);
20322 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20325 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 PyObject
* obj2
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20337 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20338 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20339 if (arg3
== NULL
) {
20340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= PyInt_FromLong((long)result
);
20356 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20359 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 PyObject
* obj2
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20372 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20373 if (arg3
== NULL
) {
20374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= PyInt_FromLong((long)result
);
20390 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20395 PyObject
* obj0
= 0 ;
20396 char *kwnames
[] = {
20397 (char *) "self",(char *) "pageNum", NULL
20400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= PyInt_FromLong((long)result
);
20416 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self",(char *) "percent", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->base_SetZoom(arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self",(char *) "interactive", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20454 arg2
= PyInt_AsLong(obj1
) ? true : false;
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (bool)(arg1
)->base_Print(arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= PyInt_FromLong((long)result
);
20470 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->base_DetermineScaling();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20497 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20499 return Py_BuildValue((char *)"");
20501 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20504 wxFrame
*arg2
= (wxFrame
*) 0 ;
20505 wxString
*arg3
= 0 ;
20506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20510 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20511 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20512 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20513 wxPyPreviewFrame
*result
;
20514 bool temp3
= False
;
20517 bool temp7
= False
;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 PyObject
* obj2
= 0 ;
20521 PyObject
* obj3
= 0 ;
20522 PyObject
* obj4
= 0 ;
20523 PyObject
* obj6
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20532 arg3
= wxString_in_helper(obj2
);
20533 if (arg3
== NULL
) SWIG_fail
;
20539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20550 arg7
= wxString_in_helper(obj6
);
20551 if (arg7
== NULL
) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20585 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20588 PyObject
*arg2
= (PyObject
*) 0 ;
20589 PyObject
*arg3
= (PyObject
*) 0 ;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 PyObject
* obj2
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "self",(char *) "_class", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 Py_INCREF(Py_None
); resultobj
= Py_None
;
20615 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20618 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20619 PyObject
* obj0
= 0 ;
20620 PyObject
* obj1
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self",(char *) "canvas", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetPreviewCanvas(arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 Py_INCREF(Py_None
); resultobj
= Py_None
;
20642 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20645 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self",(char *) "bar", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->SetControlBar(arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 Py_INCREF(Py_None
); resultobj
= Py_None
;
20669 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->base_Initialize();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 (arg1
)->base_CreateCanvas();
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 Py_INCREF(Py_None
); resultobj
= Py_None
;
20717 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 (arg1
)->base_CreateControlBar();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 Py_INCREF(Py_None
); resultobj
= Py_None
;
20741 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20744 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20746 return Py_BuildValue((char *)"");
20748 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20752 wxWindow
*arg3
= (wxWindow
*) 0 ;
20753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20757 long arg6
= (long) 0 ;
20758 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20760 wxPyPreviewControlBar
*result
;
20763 bool temp7
= False
;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj2
= 0 ;
20766 PyObject
* obj3
= 0 ;
20767 PyObject
* obj4
= 0 ;
20768 PyObject
* obj6
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20775 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20790 arg7
= wxString_in_helper(obj6
);
20791 if (arg7
== NULL
) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20817 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
;
20819 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20820 PyObject
*arg2
= (PyObject
*) 0 ;
20821 PyObject
*arg3
= (PyObject
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 PyObject
* obj1
= 0 ;
20824 PyObject
* obj2
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self",(char *) "self",(char *) "_class", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 Py_INCREF(Py_None
); resultobj
= Py_None
;
20847 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20850 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self",(char *) "preview", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20859 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 (arg1
)->SetPrintPreview(arg2
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 Py_INCREF(Py_None
); resultobj
= Py_None
;
20874 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 (arg1
)->base_CreateButtons();
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 Py_INCREF(Py_None
); resultobj
= Py_None
;
20898 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self",(char *) "zoom", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 (arg1
)->base_SetZoomControl(arg2
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 Py_INCREF(Py_None
); resultobj
= Py_None
;
20923 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20926 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20928 return Py_BuildValue((char *)"");
20930 static PyMethodDef SwigMethods
[] = {
20931 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20932 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20933 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20934 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20935 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20936 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20937 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20938 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20939 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20940 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20941 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20942 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20943 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20944 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20945 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20946 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20947 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20948 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20949 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20950 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20951 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20952 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20953 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20954 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20955 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20956 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20957 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
20958 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
20959 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
20960 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
20962 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
20964 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
20966 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
20968 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
20970 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
20971 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20972 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20973 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20975 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20976 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20977 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20978 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20979 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20981 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20982 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20983 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20984 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20985 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20986 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20987 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20988 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
20989 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
20990 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20991 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20992 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
20993 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20994 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20995 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20996 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20997 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20998 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20999 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21000 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21001 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21002 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21003 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21004 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21005 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
21006 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
21007 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
21008 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
21009 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
21010 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21011 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21012 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21013 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
21014 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
21015 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
21016 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
21017 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21018 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
21019 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
21020 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
21021 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21022 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21023 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21024 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
21025 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
21026 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21027 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21028 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
21029 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
21030 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
21031 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21032 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
21033 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
21034 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21035 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21036 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
21037 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21038 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21039 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21040 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21041 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21042 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21043 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21044 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
21045 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
21048 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
21049 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21050 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21051 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
21053 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
21054 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21055 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21057 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
21060 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21063 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21064 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21065 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21069 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21072 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
21075 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
21082 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
21105 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
21113 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
21125 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
21131 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21134 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
21140 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
21146 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
21151 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
21157 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
21161 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21179 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21205 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21212 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21220 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21222 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21231 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21235 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21243 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21261 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21265 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21271 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21272 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21276 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21292 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21293 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21296 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21297 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21298 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21299 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21300 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21303 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21304 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21305 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21308 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21312 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21320 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21321 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21322 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21327 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21331 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21339 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21346 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21347 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21350 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21351 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21353 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21359 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21360 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21361 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21363 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21364 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21365 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21367 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21369 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21370 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21371 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21372 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21376 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21378 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21382 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21384 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21388 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21390 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21392 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21393 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21394 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21396 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21399 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21400 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21402 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21403 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21405 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21406 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21408 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21409 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21412 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21417 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21418 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21421 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21422 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21423 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21425 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21427 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21428 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21430 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21432 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21433 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21436 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21437 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21438 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21439 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21440 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21441 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21442 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21443 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21444 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21445 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21446 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21447 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21448 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21449 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21450 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21451 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21452 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21453 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21454 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21455 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21456 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21457 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21458 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21459 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21460 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21461 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21462 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21463 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21464 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21465 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21466 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21467 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21468 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21469 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21470 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21471 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21472 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21473 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21474 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21475 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21476 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21477 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21478 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21479 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21480 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21481 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21482 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21483 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21484 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21485 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21486 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21487 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21488 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21489 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21490 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21491 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21492 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21493 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21494 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21495 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21496 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21497 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21498 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21499 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21500 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21501 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21502 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21503 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21504 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21505 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21506 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21507 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21508 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21509 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21510 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21511 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21512 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21513 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21514 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21515 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21516 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21517 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21518 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21519 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21520 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21521 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21522 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21523 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21524 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21525 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21526 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21527 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21528 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21529 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21530 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21531 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21532 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21533 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21534 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21535 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21536 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21537 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21538 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21539 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21540 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21541 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21542 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21543 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21544 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21545 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21546 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21547 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21548 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21549 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21550 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21551 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21552 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21553 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21554 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21555 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21556 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21557 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21558 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21559 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21560 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21561 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21562 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21563 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21564 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21565 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21566 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21567 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21568 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21569 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21570 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21571 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21572 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21573 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21574 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21575 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21576 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21577 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21578 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21579 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21580 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21581 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21582 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21583 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21584 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21585 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21586 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21587 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21588 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21589 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21590 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21591 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21592 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21593 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21594 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21595 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21596 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21597 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21598 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21599 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21600 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21601 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21602 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21603 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21604 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21605 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21606 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21607 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21608 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21609 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21610 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21615 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21617 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21618 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21620 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21623 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21624 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21626 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21627 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21629 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21630 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21632 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21633 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21635 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21636 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21638 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21639 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21641 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21642 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21644 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21647 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21650 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21651 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21653 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21656 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21657 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21659 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21660 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21662 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21665 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21666 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21668 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21669 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21671 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21672 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21674 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21675 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21677 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21678 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21680 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21681 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21683 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21684 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21686 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21687 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21689 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21692 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21693 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21695 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21696 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21698 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21699 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21701 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21702 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21704 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21705 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21707 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21708 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21710 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21711 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21713 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21714 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21716 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21717 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21719 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21720 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21722 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21723 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21725 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21728 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21731 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21732 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21734 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21735 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21737 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21738 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21740 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21741 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21743 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21744 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21746 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21749 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21752 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21755 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21756 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21758 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21759 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21761 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21762 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21764 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21765 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21767 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21770 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21773 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21776 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21779 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21782 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21785 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21788 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21789 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21791 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21792 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21794 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21797 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21800 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21803 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21804 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21806 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21809 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21810 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21812 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21815 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21816 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21818 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21819 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21821 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21824 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21825 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21827 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21828 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21830 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21831 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21833 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21836 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21839 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21842 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21843 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21845 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21848 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21849 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21851 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21854 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21857 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21860 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21863 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21866 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21867 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21869 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21872 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21875 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21878 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21881 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21884 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21887 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21890 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21893 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21894 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21896 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21897 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21899 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21900 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21902 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21903 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21905 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21906 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21908 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21909 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21911 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21912 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21914 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21915 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21917 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21918 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21920 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21921 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21923 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21926 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21929 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21930 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21932 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21933 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21935 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21938 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21939 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21941 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21942 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21944 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21945 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21947 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21948 return (void *)((wxObject
*) ((wxSizer
*) x
));
21950 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21951 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21953 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21956 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21959 static void *_p_wxEventTo_p_wxObject(void *x
) {
21960 return (void *)((wxObject
*) ((wxEvent
*) x
));
21962 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21963 return (void *)((wxObject
*) ((wxFontData
*) x
));
21965 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21966 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21968 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21969 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21971 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21972 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21974 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21975 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21977 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21978 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21980 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21981 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21983 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21984 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21986 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21987 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21989 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21990 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21992 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21993 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21995 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21996 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21998 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21999 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22001 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22002 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22004 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
22005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22007 static void *_p_wxControlTo_p_wxObject(void *x
) {
22008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22010 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22011 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22013 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
22014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22016 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22017 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22019 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
22020 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
22022 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22023 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22025 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
22026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22028 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
22029 return (void *)((wxObject
*) ((wxColourData
*) x
));
22031 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22032 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22034 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22037 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
22038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
22040 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
22041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22043 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
22044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22046 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
22047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22049 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
22050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22052 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
22053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22055 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
22056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22058 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
22059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22061 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
22062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22064 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22065 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22067 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
22068 return (void *)((wxObject
*) ((wxPrinter
*) x
));
22070 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22071 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22073 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22074 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22076 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22079 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22080 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22082 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22083 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22085 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22086 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22088 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22089 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22091 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22092 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22094 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22095 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22097 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22100 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22103 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22106 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22109 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22112 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22113 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22115 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22116 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22118 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22119 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22121 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22122 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22124 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22127 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22128 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22130 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22133 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22134 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22136 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
22137 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
22139 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
22140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22142 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
22143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22145 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22146 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22148 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
22149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22151 static void *_p_wxImageTo_p_wxObject(void *x
) {
22152 return (void *)((wxObject
*) ((wxImage
*) x
));
22154 static void *_p_wxFrameTo_p_wxObject(void *x
) {
22155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22157 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
22158 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
22160 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22161 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22163 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
22164 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
22166 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
22167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
22169 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
22170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22172 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22173 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22175 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22176 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22178 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22179 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22181 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22184 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22185 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22187 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22188 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22190 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22193 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22196 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22199 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22202 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22205 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22208 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22211 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22214 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22217 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22220 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22223 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22226 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22227 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22229 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22230 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22232 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22235 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22238 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22241 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22244 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22247 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22250 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22253 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22254 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22256 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22259 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22260 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22262 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22263 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22265 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22266 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22268 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22269 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22271 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22272 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22274 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22277 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22278 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22280 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22283 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22286 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22287 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22289 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22290 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22292 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22293 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22295 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22298 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22299 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22301 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22302 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22304 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22307 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22308 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22310 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22311 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22313 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22314 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22316 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
22317 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22319 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22320 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22322 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22323 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22325 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22326 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22328 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22329 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22331 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22332 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22334 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22335 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22337 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22338 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22340 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22341 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22343 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22344 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22346 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22347 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22349 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22350 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22352 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22353 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22355 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22356 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22358 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22359 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22361 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22362 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22364 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22365 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22367 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22368 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22370 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22371 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22373 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22374 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22376 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22377 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22379 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22380 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22382 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22383 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22385 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22386 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22388 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22389 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22391 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22394 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22395 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22397 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22398 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22400 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22401 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22403 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22404 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22406 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22407 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22409 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22410 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22412 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22413 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22415 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22416 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22418 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22419 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22421 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22422 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22424 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22425 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22427 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22428 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22430 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22431 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22433 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22434 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22436 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22437 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22439 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22440 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22442 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22443 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22445 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22446 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22448 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22449 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22451 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22452 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22454 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22455 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22457 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22458 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22460 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22461 return (void *)((wxWindow
*) ((wxControl
*) x
));
22463 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22464 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22466 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22467 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22469 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22470 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22472 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22473 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22475 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22476 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22478 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22479 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22481 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22482 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22484 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22485 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22487 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22488 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22490 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22491 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22493 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22494 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22496 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22499 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22500 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22502 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22503 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22505 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22506 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22508 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22509 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22511 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22512 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22514 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22515 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22517 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22518 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22520 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22521 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22523 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22524 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22526 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22527 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22529 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22530 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22532 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22533 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22535 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22536 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22538 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22539 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22541 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22542 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22544 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22545 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22547 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22548 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22550 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22551 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22553 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22554 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22556 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22557 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22559 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22560 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22562 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22563 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22565 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22566 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22568 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22569 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22571 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22572 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22574 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22575 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22577 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22578 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22580 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22581 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22583 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22584 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22586 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22587 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22589 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22590 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22592 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22593 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22595 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22596 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22598 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22599 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22601 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22602 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22604 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22605 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22607 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22608 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22610 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22611 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22613 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22614 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22616 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22617 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22618 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22619 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22620 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22621 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22622 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22623 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22624 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}};
22625 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22626 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22627 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22628 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22629 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22630 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22631 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22632 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22633 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22634 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22635 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22636 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22637 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22638 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22639 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22640 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22641 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22642 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22643 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22644 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22645 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22646 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22647 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22648 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22649 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22650 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22651 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22652 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22653 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
22654 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22655 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22656 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22657 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22658 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22659 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22660 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
},{0}};
22661 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22662 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22663 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22664 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22665 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22666 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22667 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
22668 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22669 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22670 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22671 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22672 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22673 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22674 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}};
22675 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22676 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
},{0}};
22677 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22678 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
},{0}};
22679 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
22680 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22681 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22682 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22683 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22684 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22685 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22686 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22687 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22688 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22689 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}};
22690 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}};
22691 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22692 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22693 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22694 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}};
22695 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22696 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22697 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22698 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22699 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22700 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22701 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22703 static swig_type_info
*swig_types_initial
[] = {
22704 _swigt__p_wxQueryLayoutInfoEvent
,
22705 _swigt__p_wxPreviewFrame
,
22706 _swigt__p_wxPyPreviewFrame
,
22707 _swigt__p_wxAcceleratorEntry
,
22708 _swigt__p_wxPyPanel
,
22710 _swigt__p_wxPrintData
,
22711 _swigt__p_wxFontData
,
22713 _swigt__p_wxTaskBarIcon
,
22714 _swigt__p_wxIconBundle
,
22715 _swigt__p_wxLayoutAlgorithm
,
22716 _swigt__p_wxFindDialogEvent
,
22717 _swigt__p_wxPreviewCanvas
,
22719 _swigt__p_wxSplitterEvent
,
22720 _swigt__p_wxRegion
,
22721 _swigt__p_wxFindReplaceData
,
22726 _swigt__p_wxMDIChildFrame
,
22727 _swigt__p_wxColourData
,
22728 _swigt__p_wxNotifyEvent
,
22729 _swigt__p_wxPyWindow
,
22730 _swigt__p_wxSplashScreen
,
22731 _swigt__p_wxFindReplaceDialog
,
22732 _swigt__p_wxProgressDialog
,
22733 _swigt__p_wxMessageDialog
,
22734 _swigt__p_wxTextEntryDialog
,
22735 _swigt__p_wxSingleChoiceDialog
,
22736 _swigt__p_wxMultiChoiceDialog
,
22737 _swigt__p_wxFileDialog
,
22738 _swigt__p_wxPrinter
,
22739 _swigt__p_wxMenuItem
,
22740 _swigt__p_wxArrayInt
,
22741 _swigt__p_wxEvtHandler
,
22742 _swigt__p_wxCalculateLayoutEvent
,
22743 _swigt__p_wxPyHtmlListBox
,
22744 _swigt__p_wxPyVListBox
,
22746 _swigt__p_wxAcceleratorTable
,
22747 _swigt__p_wxMiniFrame
,
22749 _swigt__p_wxPyPrintout
,
22750 _swigt__p_wxTaskBarIconEvent
,
22751 _swigt__p_wxScrollWinEvent
,
22752 _swigt__p_wxStatusBar
,
22753 _swigt__p_wxMDIParentFrame
,
22755 _swigt__p_wxObject
,
22756 _swigt__p_unsigned_long
,
22757 _swigt__p_wxMDIClientWindow
,
22758 _swigt__p_wxTipWindow
,
22759 _swigt__p_wxSashLayoutWindow
,
22760 _swigt__p_wxSplitterWindow
,
22761 _swigt__p_wxSplashScreenWindow
,
22762 _swigt__p_wxPyVScrolledWindow
,
22763 _swigt__p_wxPyPopupTransientWindow
,
22764 _swigt__p_wxPopupWindow
,
22765 _swigt__p_wxSashWindow
,
22766 _swigt__p_wxTopLevelWindow
,
22767 _swigt__p_wxWindow
,
22768 _swigt__p_wxScrolledWindow
,
22769 _swigt__p_wxMenuBar
,
22770 _swigt__p_wxPrintPreview
,
22771 _swigt__p_wxSashEvent
,
22772 _swigt__p_wxString
,
22773 _swigt__p_wxPyPrintPreview
,
22774 _swigt__p_wxFontDialog
,
22775 _swigt__p_wxDirDialog
,
22776 _swigt__p_wxColourDialog
,
22777 _swigt__p_wxDialog
,
22779 _swigt__p_wxPageSetupDialog
,
22780 _swigt__p_wxPrintDialog
,
22781 _swigt__p_wxBitmap
,
22782 _swigt__p_wxCommandEvent
,
22783 _swigt__p_wxPrintQuality
,
22784 _swigt__p_wxPreviewControlBar
,
22785 _swigt__p_wxPyPreviewControlBar
,
22786 _swigt__p_wxColour
,
22787 _swigt__p_wxToolBar
,
22788 _swigt__p_wxPageSetupDialogData
,
22789 _swigt__p_wxPrintDialogData
,
22794 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22796 static swig_const_info swig_const_table
[] = {
22797 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22798 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22799 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22800 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22801 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22802 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22803 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22804 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22805 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22806 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22807 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22808 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22809 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22810 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22811 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22812 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22813 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22814 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22815 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22816 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22817 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22818 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22819 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22820 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22821 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22822 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22823 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22824 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22825 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22826 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22827 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22828 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22829 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22830 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22831 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22832 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22833 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22834 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22835 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22836 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22837 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22838 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22839 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22840 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22841 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22842 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22843 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22844 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22845 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22846 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22847 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22848 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22849 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22850 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22851 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22852 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22853 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22854 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22855 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22856 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22857 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22858 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22859 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22860 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22861 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22862 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22863 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22864 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22865 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22866 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22867 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22868 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22869 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22870 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22871 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22872 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22873 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22874 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22875 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22876 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22877 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22878 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22879 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22880 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22881 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22882 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22883 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22884 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22885 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22886 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22887 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22888 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22889 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22890 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22891 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22892 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22893 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22894 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22895 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22896 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22897 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22898 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22899 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22900 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22901 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22902 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22903 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22904 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22905 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22915 SWIGEXPORT(void) SWIG_init(void) {
22916 static PyObject
*SWIG_globals
= 0;
22917 static int typeinit
= 0;
22920 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22921 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22922 d
= PyModule_GetDict(m
);
22925 for (i
= 0; swig_types_initial
[i
]; i
++) {
22926 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22930 SWIG_InstallConstants(d
,swig_const_table
);
22932 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
22933 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
22934 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22935 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22936 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22937 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22938 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22939 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22940 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22942 // Map renamed classes back to their common name for OOR
22943 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22944 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22945 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22947 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22948 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22949 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22950 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22951 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22952 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22953 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22954 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22955 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22956 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22957 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22958 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22960 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");