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
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
51 /***********************************************************************
52 * common.swg for wxPython
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 ************************************************************************/
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 # 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 *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 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_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxPrintData swig_types[5]
217 #define SWIGTYPE_p_wxFontData swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
233 #define SWIGTYPE_p_wxColourData swig_types[22]
234 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
235 #define SWIGTYPE_p_wxPyWindow swig_types[24]
236 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
237 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
238 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
239 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
240 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
241 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
242 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxFileDialog swig_types[32]
244 #define SWIGTYPE_p_wxPrinter swig_types[33]
245 #define SWIGTYPE_p_wxArrayInt swig_types[34]
246 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
247 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
248 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
249 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
250 #define SWIGTYPE_p_wxRect swig_types[39]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
252 #define SWIGTYPE_p_wxFrame swig_types[41]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
256 #define SWIGTYPE_p_wxStatusBar swig_types[45]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
258 #define SWIGTYPE_p_wxPoint swig_types[47]
259 #define SWIGTYPE_p_wxObject swig_types[48]
260 #define SWIGTYPE_p_unsigned_long swig_types[49]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
262 #define SWIGTYPE_p_wxTipWindow swig_types[51]
263 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
268 #define SWIGTYPE_p_wxSashWindow swig_types[57]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
270 #define SWIGTYPE_p_wxWindow swig_types[59]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
273 #define SWIGTYPE_p_wxMenuBar swig_types[62]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
275 #define SWIGTYPE_p_wxSashEvent swig_types[64]
276 #define SWIGTYPE_p_wxString swig_types[65]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
279 #define SWIGTYPE_p_wxFontDialog swig_types[68]
280 #define SWIGTYPE_p_wxDirDialog swig_types[69]
281 #define SWIGTYPE_p_wxColourDialog swig_types[70]
282 #define SWIGTYPE_p_wxDialog swig_types[71]
283 #define SWIGTYPE_p_wxPanel swig_types[72]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
285 #define SWIGTYPE_p_wxBitmap swig_types[74]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
287 #define SWIGTYPE_p_wxPrintQuality swig_types[76]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
290 #define SWIGTYPE_p_wxColour swig_types[79]
291 #define SWIGTYPE_p_wxToolBar swig_types[80]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
294 static swig_type_info
*swig_types
[84];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
309 DECLARE_DEF_STRING(PanelNameStr
);
310 DECLARE_DEF_STRING(EmptyString
);
316 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
322 } else if (target
== Py_None
) {
326 if (!PyTuple_Check(target
)) {
328 target
= PyTuple_New(1);
329 PyTuple_SetItem(target
, 0, o2
);
332 PyTuple_SetItem(o3
, 0, o
);
335 target
= PySequence_Concat(o2
, o3
);
343 // Put some wx default wxChar* values into wxStrings.
344 DECLARE_DEF_STRING(FrameNameStr
);
345 DECLARE_DEF_STRING(DialogNameStr
);
346 DECLARE_DEF_STRING(StatusLineNameStr
);
347 DECLARE_DEF_STRING(ToolBarNameStr
);
349 bool wxDialog_IsModalShowing(wxDialog
*self
){
353 return self
->IsModalShowing();
358 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
360 self
->GetFieldRect(i
, r
);
364 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
365 DECLARE_DEF_STRING(SplitterNameStr
);
368 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
369 DECLARE_DEF_STRING(SashNameStr
);
370 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
371 DECLARE_DEF_STRING(SashLayoutNameStr
);
374 #include <wx/popupwin.h>
377 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
380 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
381 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
382 : wxPopupTransientWindow(parent
, style
) {}
384 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
385 DEC_PYCALLBACK__(OnDismiss
);
386 DEC_PYCALLBACK_BOOL_(CanDismiss
);
391 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
392 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
393 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
396 #include <wx/tipwin.h>
398 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
399 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
402 #include <wx/tipwin.h>
405 #include <wx/vscroll.h>
408 class wxPyVScrolledWindow
: public wxVScrolledWindow
410 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
412 wxPyVScrolledWindow() : wxVScrolledWindow() {}
414 wxPyVScrolledWindow(wxWindow
*parent
,
415 wxWindowID id
= wxID_ANY
,
416 const wxPoint
& pos
= wxDefaultPosition
,
417 const wxSize
& size
= wxDefaultSize
,
419 const wxString
& name
= wxPyPanelNameStr
)
420 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
423 // Overridable virtuals
425 // this function must be overridden in the derived class and it should
426 // return the height of the given line in pixels
427 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
430 // this function doesn't have to be overridden but it may be useful to do
431 // it if calculating the lines heights is a relatively expensive operation
432 // as it gives the user code a possibility to calculate several of them at
435 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
436 // shouldn't rely on the latter being called for all lines in the interval
437 // specified here. It is also possible that OnGetLineHeight() will be
438 // called for the lines outside of this interval, so this is really just a
439 // hint, not a promise.
441 // finally note that lineMin is inclusive, while lineMax is exclusive, as
443 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
446 // when the number of lines changes, we try to estimate the total height
447 // of all lines which is a rather expensive operation in terms of lines
448 // access, so if the user code may estimate the average height
449 // better/faster than we do, it should override this function to implement
452 // this function should return the best guess for the total height it may
454 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
457 // Also expose some other interesting protected methods
460 // find the index of the line we need to show at the top of the window such
461 // that the last (fully or partially) visible line is the given one
462 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
463 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
465 // get the total height of the lines between lineMin (inclusive) and
466 // lineMax (exclusive)
467 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
468 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
474 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
476 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
477 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
478 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
481 #include <wx/vlbox.h>
482 DECLARE_DEF_STRING(VListBoxNameStr
);
485 class wxPyVListBox
: public wxVListBox
487 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
489 wxPyVListBox() : wxVListBox() {}
491 wxPyVListBox(wxWindow
*parent
,
492 wxWindowID id
= wxID_ANY
,
493 const wxPoint
& pos
= wxDefaultPosition
,
494 const wxSize
& size
= wxDefaultSize
,
496 const wxString
& name
= wxPyVListBoxNameStr
)
497 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
500 // Overridable virtuals
502 // the derived class must implement this function to actually draw the item
503 // with the given index on the provided DC
504 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
505 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
508 // the derived class must implement this method to return the height of the
510 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
511 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
514 // this method may be used to draw separators between the lines; note that
515 // the rectangle may be modified, typically to deflate it a bit before
516 // passing to OnDrawItem()
518 // the base class version doesn't do anything
519 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
523 // this method is used to draw the items background and, maybe, a border
526 // the base class version implements a reasonable default behaviour which
527 // consists in drawing the selected item with the standard background
528 // colour and drawing a border around the item if it is either selected or
530 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
531 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
537 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
539 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
540 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
541 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
542 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
546 #include <wx/htmllbox.h>
549 class wxPyHtmlListBox
: public wxHtmlListBox
551 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
553 wxPyHtmlListBox() : wxHtmlListBox() {}
555 wxPyHtmlListBox(wxWindow
*parent
,
556 wxWindowID id
= wxID_ANY
,
557 const wxPoint
& pos
= wxDefaultPosition
,
558 const wxSize
& size
= wxDefaultSize
,
560 const wxString
& name
= wxPyVListBoxNameStr
)
561 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
564 // Overridable virtuals
566 // this method must be implemented in the derived class and should return
567 // the body (i.e. without <html>) of the HTML for the given item
568 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
570 // this function may be overridden to decorate HTML returned by OnGetItem()
571 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
574 // // this method allows to customize the selection appearance: it may be used
575 // // to specify the colour of the text which normally has the given colour
576 // // colFg when it is inside the selection
578 // // by default, the original colour is not used at all and all text has the
579 // // same (default for this system) colour inside selection
580 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
582 // // this is the same as GetSelectedTextColour() but allows to customize the
583 // // background colour -- this is even more rarely used as you can change it
584 // // globally using SetSelectionBackground()
585 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
592 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
594 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
595 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
602 // implement dummy classes and such for wxMac
604 class wxTaskBarIcon
: public wxEvtHandler
607 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError
); }
611 class wxTaskBarIconEvent
: public wxEvent
614 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
615 { PyErr_SetNone(PyExc_NotImplementedError
); }
616 virtual wxEvent
* Clone() const { return NULL
; }
620 wxEVT_TASKBAR_MOVE
= 0,
621 wxEVT_TASKBAR_LEFT_DOWN
= 0,
622 wxEVT_TASKBAR_LEFT_UP
= 0,
623 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
624 wxEVT_TASKBAR_RIGHT_UP
= 0,
625 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
626 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
632 DECLARE_DEF_STRING(FileSelectorPromptStr
);
633 DECLARE_DEF_STRING(DirSelectorPromptStr
);
634 DECLARE_DEF_STRING(DirDialogNameStr
);
635 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
636 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
637 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
640 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
642 self
->GetFilenames(arr
);
643 return wxArrayString2PyList_helper(arr
);
645 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
648 return wxArrayString2PyList_helper(arr
);
650 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
651 return wxArrayInt2PyList_helper(self
->GetSelections());
653 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
654 return new wxSingleChoiceDialog(parent
, message
, caption
,
655 choices
, choices_array
, NULL
, style
, pos
);
660 // C++ version of Python aware wxWindow
661 class wxPyWindow
: public wxWindow
663 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
665 wxPyWindow() : wxWindow() {}
666 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
667 const wxPoint
& pos
= wxDefaultPosition
,
668 const wxSize
& size
= wxDefaultSize
,
670 const wxString
& name
= wxPyPanelNameStr
)
671 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
674 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
675 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
676 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
677 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
679 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
680 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
683 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
684 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
686 DEC_PYCALLBACK__(InitDialog
);
687 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
688 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
689 DEC_PYCALLBACK_BOOL_(Validate
);
691 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
692 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
693 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
695 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
696 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
701 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
703 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
704 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
705 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
706 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
708 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
709 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
710 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
712 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
713 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
715 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
716 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
717 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
718 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
720 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
721 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
722 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
724 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
725 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
728 // C++ version of Python aware wxPanel
729 class wxPyPanel
: public wxPanel
731 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
733 wxPyPanel() : wxPanel() {}
734 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
735 const wxPoint
& pos
= wxDefaultPosition
,
736 const wxSize
& size
= wxDefaultSize
,
738 const wxString
& name
= wxPyPanelNameStr
)
739 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
742 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
743 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
744 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
747 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
751 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
752 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
754 DEC_PYCALLBACK__(InitDialog
);
755 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
756 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
757 DEC_PYCALLBACK_BOOL_(Validate
);
759 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
761 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
763 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
764 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
769 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
771 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
772 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
773 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
774 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
776 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
777 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
780 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
781 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
783 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
784 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
785 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
786 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
788 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
789 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
790 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
792 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
793 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
797 #include "wx/wxPython/printfw.h"
799 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
800 DECLARE_DEF_STRING(PrintoutTitleStr
);
801 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
802 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
808 // Since this one would be tough and ugly to do with the Macros...
809 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
813 wxPyBeginBlockThreads();
814 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
815 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
816 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
819 val
= PyTuple_GetItem(result
, 0);
820 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
823 val
= PyTuple_GetItem(result
, 1);
824 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
827 val
= PyTuple_GetItem(result
, 2);
828 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
831 val
= PyTuple_GetItem(result
, 3);
832 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
839 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
844 wxPyEndBlockThreads();
846 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
849 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
850 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
854 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
855 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
856 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
857 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
858 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
859 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
860 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
866 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
867 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
868 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
871 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
872 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
875 wxPyBeginBlockThreads(); \
876 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
877 PyObject* win = wxPyMake_wxObject(a); \
878 PyObject* dc = wxPyMake_wxObject(&b); \
879 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
883 wxPyEndBlockThreads(); \
885 rval = PCLASS::CBNAME(a, b); \
888 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
889 return PCLASS::CBNAME(a, b); \
895 class wxPyPrintPreview
: public wxPrintPreview
897 DECLARE_CLASS(wxPyPrintPreview
)
899 wxPyPrintPreview(wxPyPrintout
* printout
,
900 wxPyPrintout
* printoutForPrinting
,
901 wxPrintData
* data
=NULL
)
902 : wxPrintPreview(printout
, printoutForPrinting
, data
)
905 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
906 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
907 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
908 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
909 DEC_PYCALLBACK_VOID_INT(SetZoom
);
910 DEC_PYCALLBACK_BOOL_BOOL(Print
);
911 DEC_PYCALLBACK_VOID_(DetermineScaling
);
916 // Stupid renamed classes... Fix this in 2.5...
917 #if defined(__WXMSW__)
918 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
919 #elif defined(__WXMAC__)
920 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
922 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
925 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
926 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
927 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
928 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
929 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
930 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
931 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
934 class wxPyPreviewFrame
: public wxPreviewFrame
936 DECLARE_CLASS(wxPyPreviewFrame
);
938 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
939 const wxString
& title
,
940 const wxPoint
& pos
= wxDefaultPosition
,
941 const wxSize
& size
= wxDefaultSize
,
942 long style
= wxDEFAULT_FRAME_STYLE
,
943 const wxString
& name
= wxPyFrameNameStr
)
944 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
947 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
948 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
950 DEC_PYCALLBACK_VOID_(Initialize
);
951 DEC_PYCALLBACK_VOID_(CreateCanvas
);
952 DEC_PYCALLBACK_VOID_(CreateControlBar
);
957 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
959 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
960 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
961 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
964 class wxPyPreviewControlBar
: public wxPreviewControlBar
966 DECLARE_CLASS(wxPyPreviewControlBar
);
968 wxPyPreviewControlBar(wxPrintPreview
*preview
,
971 const wxPoint
& pos
= wxDefaultPosition
,
972 const wxSize
& size
= wxDefaultSize
,
974 const wxString
& name
= wxPyPanelNameStr
)
975 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
978 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
980 DEC_PYCALLBACK_VOID_(CreateButtons
);
981 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
986 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
987 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
988 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
993 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 wxWindow
*arg1
= (wxWindow
*) 0 ;
996 int arg2
= (int) (int)-1 ;
997 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
998 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
999 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1000 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1001 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1002 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1003 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1007 bool temp6
= False
;
1008 PyObject
* obj0
= 0 ;
1009 PyObject
* obj2
= 0 ;
1010 PyObject
* obj3
= 0 ;
1011 PyObject
* obj5
= 0 ;
1013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1021 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1027 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1032 arg6
= wxString_in_helper(obj5
);
1033 if (arg6
== NULL
) SWIG_fail
;
1038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1039 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1041 wxPyEndAllowThreads(__tstate
);
1042 if (PyErr_Occurred()) SWIG_fail
;
1044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1059 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
*resultobj
;
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 result
= (wxPanel
*)new wxPanel();
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1081 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
*resultobj
;
1083 wxPanel
*arg1
= (wxPanel
*) 0 ;
1084 wxWindow
*arg2
= (wxWindow
*) 0 ;
1086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1090 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1091 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1096 bool temp7
= False
;
1097 PyObject
* obj0
= 0 ;
1098 PyObject
* obj1
= 0 ;
1099 PyObject
* obj3
= 0 ;
1100 PyObject
* obj4
= 0 ;
1101 PyObject
* obj6
= 0 ;
1103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1123 arg7
= wxString_in_helper(obj6
);
1124 if (arg7
== NULL
) SWIG_fail
;
1129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1132 wxPyEndAllowThreads(__tstate
);
1133 if (PyErr_Occurred()) SWIG_fail
;
1135 resultobj
= PyInt_FromLong((long)result
);
1150 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
*resultobj
;
1152 wxPanel
*arg1
= (wxPanel
*) 0 ;
1153 PyObject
* obj0
= 0 ;
1155 (char *) "self", NULL
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 (arg1
)->InitDialog();
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1167 Py_INCREF(Py_None
); resultobj
= Py_None
;
1174 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1177 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1179 return Py_BuildValue((char *)"");
1181 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
*resultobj
;
1183 wxWindow
*arg1
= (wxWindow
*) 0 ;
1184 int arg2
= (int) (int)-1 ;
1185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1187 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1188 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1189 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1190 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1191 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1192 wxScrolledWindow
*result
;
1195 bool temp6
= False
;
1196 PyObject
* obj0
= 0 ;
1197 PyObject
* obj2
= 0 ;
1198 PyObject
* obj3
= 0 ;
1199 PyObject
* obj5
= 0 ;
1201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1220 arg6
= wxString_in_helper(obj5
);
1221 if (arg6
== NULL
) SWIG_fail
;
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1247 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
*resultobj
;
1249 wxScrolledWindow
*result
;
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1269 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1272 wxWindow
*arg2
= (wxWindow
*) 0 ;
1273 int arg3
= (int) (int)-1 ;
1274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1278 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1279 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1280 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1284 bool temp7
= False
;
1285 PyObject
* obj0
= 0 ;
1286 PyObject
* obj1
= 0 ;
1287 PyObject
* obj3
= 0 ;
1288 PyObject
* obj4
= 0 ;
1289 PyObject
* obj6
= 0 ;
1291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1300 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1306 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1311 arg7
= wxString_in_helper(obj6
);
1312 if (arg7
== NULL
) SWIG_fail
;
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) SWIG_fail
;
1323 resultobj
= PyInt_FromLong((long)result
);
1338 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
*resultobj
;
1340 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1345 int arg6
= (int) 0 ;
1346 int arg7
= (int) 0 ;
1347 bool arg8
= (bool) False
;
1348 PyObject
* obj0
= 0 ;
1349 PyObject
* obj7
= 0 ;
1351 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1357 arg8
= PyInt_AsLong(obj7
) ? true : false;
1358 if (PyErr_Occurred()) SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 Py_INCREF(Py_None
); resultobj
= Py_None
;
1374 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
*resultobj
;
1376 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1379 PyObject
* obj0
= 0 ;
1381 (char *) "self",(char *) "x",(char *) "y", NULL
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 (arg1
)->Scroll(arg2
,arg3
);
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) SWIG_fail
;
1393 Py_INCREF(Py_None
); resultobj
= Py_None
;
1400 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
*resultobj
;
1402 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1405 PyObject
* obj0
= 0 ;
1407 (char *) "self",(char *) "orient", NULL
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) SWIG_fail
;
1419 resultobj
= PyInt_FromLong((long)result
);
1426 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
*resultobj
;
1428 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1431 PyObject
* obj0
= 0 ;
1433 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1445 Py_INCREF(Py_None
); resultobj
= Py_None
;
1452 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
*resultobj
;
1454 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1457 PyObject
* obj0
= 0 ;
1459 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 (arg1
)->SetScrollRate(arg2
,arg3
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1471 Py_INCREF(Py_None
); resultobj
= Py_None
;
1478 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1481 int *arg2
= (int *) 0 ;
1482 int *arg3
= (int *) 0 ;
1485 PyObject
* obj0
= 0 ;
1487 (char *) "self", NULL
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1501 Py_INCREF(Py_None
); resultobj
= Py_None
;
1503 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1504 resultobj
= t_output_helper(resultobj
,o
);
1507 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1508 resultobj
= t_output_helper(resultobj
,o
);
1516 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
*resultobj
;
1518 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1521 PyObject
* obj0
= 0 ;
1522 PyObject
* obj1
= 0 ;
1523 PyObject
* obj2
= 0 ;
1525 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1530 arg2
= PyInt_AsLong(obj1
) ? true : false;
1531 if (PyErr_Occurred()) SWIG_fail
;
1532 arg3
= PyInt_AsLong(obj2
) ? true : false;
1533 if (PyErr_Occurred()) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 (arg1
)->EnableScrolling(arg2
,arg3
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 Py_INCREF(Py_None
); resultobj
= Py_None
;
1548 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1551 int *arg2
= (int *) 0 ;
1552 int *arg3
= (int *) 0 ;
1555 PyObject
* obj0
= 0 ;
1557 (char *) "self", NULL
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 Py_INCREF(Py_None
); resultobj
= Py_None
;
1573 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1574 resultobj
= t_output_helper(resultobj
,o
);
1577 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1578 resultobj
= t_output_helper(resultobj
,o
);
1586 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1588 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self",(char *) "xs",(char *) "ys", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 (arg1
)->SetScale(arg2
,arg3
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 Py_INCREF(Py_None
); resultobj
= Py_None
;
1612 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1616 PyObject
* obj0
= 0 ;
1618 (char *) "self", NULL
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 resultobj
= PyFloat_FromDouble(result
);
1637 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1641 PyObject
* obj0
= 0 ;
1643 (char *) "self", NULL
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 resultobj
= PyFloat_FromDouble(result
);
1662 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1663 PyObject
*resultobj
;
1664 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1668 PyObject
* obj0
= 0 ;
1669 PyObject
* obj1
= 0 ;
1671 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1685 wxPoint
* resultptr
;
1686 resultptr
= new wxPoint((wxPoint
&) result
);
1687 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1695 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1696 PyObject
*resultobj
;
1697 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1700 int *arg4
= (int *) 0 ;
1701 int *arg5
= (int *) 0 ;
1704 PyObject
* obj0
= 0 ;
1708 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 Py_INCREF(Py_None
); resultobj
= Py_None
;
1719 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1720 resultobj
= t_output_helper(resultobj
,o
);
1723 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1724 resultobj
= t_output_helper(resultobj
,o
);
1732 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1737 argc
= PyObject_Length(args
);
1738 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1739 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1745 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1754 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1757 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1765 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1774 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1778 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1781 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1787 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1792 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1793 PyObject
*resultobj
;
1794 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1799 PyObject
* obj1
= 0 ;
1801 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1805 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1815 wxPoint
* resultptr
;
1816 resultptr
= new wxPoint((wxPoint
&) result
);
1817 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1825 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1826 PyObject
*resultobj
;
1827 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1830 int *arg4
= (int *) 0 ;
1831 int *arg5
= (int *) 0 ;
1834 PyObject
* obj0
= 0 ;
1838 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1850 resultobj
= t_output_helper(resultobj
,o
);
1853 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1854 resultobj
= t_output_helper(resultobj
,o
);
1862 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1867 argc
= PyObject_Length(args
);
1868 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1869 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1875 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1884 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1887 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1895 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1904 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1908 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1911 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1917 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1922 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "self", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 (arg1
)->AdjustScrollbars();
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1939 Py_INCREF(Py_None
); resultobj
= Py_None
;
1946 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1949 wxScrollWinEvent
*arg2
= 0 ;
1951 PyObject
* obj0
= 0 ;
1952 PyObject
* obj1
= 0 ;
1954 (char *) "self",(char *) "event", NULL
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 resultobj
= PyInt_FromLong((long)result
);
1977 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1980 wxWindow
*arg2
= (wxWindow
*) 0 ;
1981 PyObject
* obj0
= 0 ;
1982 PyObject
* obj1
= 0 ;
1984 (char *) "self",(char *) "target", NULL
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 (arg1
)->SetTargetWindow(arg2
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 Py_INCREF(Py_None
); resultobj
= Py_None
;
2004 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
*resultobj
;
2006 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2010 (char *) "self", NULL
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2023 resultobj
= wxPyMake_wxObject(result
);
2031 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2037 PyObject
* obj1
= 0 ;
2039 (char *) "self",(char *) "rect", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2068 (char *) "self", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2082 resultptr
= new wxRect((wxRect
&) result
);
2083 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2091 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2094 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2096 return Py_BuildValue((char *)"");
2098 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2101 bool arg2
= (bool) True
;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2105 (char *) "self",(char *) "maximize", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2111 arg2
= PyInt_AsLong(obj1
) ? true : false;
2112 if (PyErr_Occurred()) SWIG_fail
;
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 (arg1
)->Maximize(arg2
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2121 Py_INCREF(Py_None
); resultobj
= Py_None
;
2128 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
*resultobj
;
2130 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2131 PyObject
* obj0
= 0 ;
2133 (char *) "self", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2145 Py_INCREF(Py_None
); resultobj
= Py_None
;
2152 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2155 bool arg2
= (bool) True
;
2156 PyObject
* obj0
= 0 ;
2157 PyObject
* obj1
= 0 ;
2159 (char *) "self",(char *) "iconize", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2165 arg2
= PyInt_AsLong(obj1
) ? true : false;
2166 if (PyErr_Occurred()) SWIG_fail
;
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 (arg1
)->Iconize(arg2
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2175 Py_INCREF(Py_None
); resultobj
= Py_None
;
2182 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
*resultobj
;
2184 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2186 PyObject
* obj0
= 0 ;
2188 (char *) "self", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 resultobj
= PyInt_FromLong((long)result
);
2207 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2213 (char *) "self", NULL
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 resultobj
= PyInt_FromLong((long)result
);
2232 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2236 PyObject
* obj0
= 0 ;
2238 (char *) "self", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2252 resultptr
= new wxIcon((wxIcon
&) result
);
2253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2261 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 (char *) "self",(char *) "icon", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2294 wxIconBundle
*arg2
= 0 ;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2298 (char *) "self",(char *) "icons", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2305 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 Py_INCREF(Py_None
); resultobj
= Py_None
;
2321 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2325 long arg3
= (long) wxFULLSCREEN_ALL
;
2327 PyObject
* obj0
= 0 ;
2328 PyObject
* obj1
= 0 ;
2330 (char *) "self",(char *) "show",(char *) "style", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 arg2
= PyInt_AsLong(obj1
) ? true : false;
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 resultobj
= PyInt_FromLong((long)result
);
2351 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2357 (char *) "self", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 resultobj
= PyInt_FromLong((long)result
);
2376 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2379 wxString
*arg2
= 0 ;
2380 bool temp2
= False
;
2381 PyObject
* obj0
= 0 ;
2382 PyObject
* obj1
= 0 ;
2384 (char *) "self",(char *) "title", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2390 arg2
= wxString_in_helper(obj1
);
2391 if (arg2
== NULL
) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 (arg1
)->SetTitle((wxString
const &)*arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 Py_INCREF(Py_None
); resultobj
= Py_None
;
2416 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2420 PyObject
* obj0
= 0 ;
2422 (char *) "self", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2447 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2450 wxRegion
*arg2
= 0 ;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2455 (char *) "self",(char *) "region", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= PyInt_FromLong((long)result
);
2478 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2481 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2483 return Py_BuildValue((char *)"");
2485 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxWindow
*arg1
= (wxWindow
*) 0 ;
2489 wxString
*arg3
= 0 ;
2490 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2491 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2492 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2493 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2494 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2495 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2496 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2498 bool temp3
= False
;
2501 bool temp7
= False
;
2502 PyObject
* obj0
= 0 ;
2503 PyObject
* obj2
= 0 ;
2504 PyObject
* obj3
= 0 ;
2505 PyObject
* obj4
= 0 ;
2506 PyObject
* obj6
= 0 ;
2508 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2514 arg3
= wxString_in_helper(obj2
);
2515 if (arg3
== NULL
) SWIG_fail
;
2521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2532 arg7
= wxString_in_helper(obj6
);
2533 if (arg7
== NULL
) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2545 resultobj
= wxPyMake_wxObject(result
);
2569 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
*resultobj
;
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 result
= (wxFrame
*)new wxFrame();
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2585 resultobj
= wxPyMake_wxObject(result
);
2593 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxFrame
*arg1
= (wxFrame
*) 0 ;
2596 wxWindow
*arg2
= (wxWindow
*) 0 ;
2598 wxString
*arg4
= 0 ;
2599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2603 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2604 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2605 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2607 bool temp4
= False
;
2610 bool temp8
= False
;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2613 PyObject
* obj3
= 0 ;
2614 PyObject
* obj4
= 0 ;
2615 PyObject
* obj5
= 0 ;
2616 PyObject
* obj7
= 0 ;
2618 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2625 arg4
= wxString_in_helper(obj3
);
2626 if (arg4
== NULL
) SWIG_fail
;
2632 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2638 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2643 arg8
= wxString_in_helper(obj7
);
2644 if (arg8
== NULL
) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= PyInt_FromLong((long)result
);
2678 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
*resultobj
;
2680 wxFrame
*arg1
= (wxFrame
*) 0 ;
2682 PyObject
* obj0
= 0 ;
2684 (char *) "self", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2697 wxPoint
* resultptr
;
2698 resultptr
= new wxPoint((wxPoint
&) result
);
2699 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2707 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxFrame
*arg1
= (wxFrame
*) 0 ;
2710 PyObject
* obj0
= 0 ;
2712 (char *) "self", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 (arg1
)->SendSizeEvent();
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 Py_INCREF(Py_None
); resultobj
= Py_None
;
2731 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxFrame
*arg1
= (wxFrame
*) 0 ;
2734 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
2735 PyObject
* obj0
= 0 ;
2736 PyObject
* obj1
= 0 ;
2738 (char *) "self",(char *) "menubar", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 (arg1
)->SetMenuBar(arg2
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2751 Py_INCREF(Py_None
); resultobj
= Py_None
;
2758 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxFrame
*arg1
= (wxFrame
*) 0 ;
2762 PyObject
* obj0
= 0 ;
2764 (char *) "self", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2777 resultobj
= wxPyMake_wxObject(result
);
2785 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
*resultobj
;
2787 wxFrame
*arg1
= (wxFrame
*) 0 ;
2790 PyObject
* obj0
= 0 ;
2792 (char *) "self",(char *) "winid", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 result
= (bool)(arg1
)->ProcessCommand(arg2
);
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2804 resultobj
= PyInt_FromLong((long)result
);
2811 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
*resultobj
;
2813 wxFrame
*arg1
= (wxFrame
*) 0 ;
2814 int arg2
= (int) 1 ;
2815 long arg3
= (long) wxST_SIZEGRIP
;
2816 int arg4
= (int) 0 ;
2817 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
2818 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2819 wxStatusBar
*result
;
2820 bool temp5
= False
;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj4
= 0 ;
2824 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2831 arg5
= wxString_in_helper(obj4
);
2832 if (arg5
== NULL
) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2844 resultobj
= wxPyMake_wxObject(result
);
2860 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxFrame
*arg1
= (wxFrame
*) 0 ;
2863 wxStatusBar
*result
;
2864 PyObject
* obj0
= 0 ;
2866 (char *) "self", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2879 resultobj
= wxPyMake_wxObject(result
);
2887 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 wxFrame
*arg1
= (wxFrame
*) 0 ;
2890 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2892 PyObject
* obj1
= 0 ;
2894 (char *) "self",(char *) "statBar", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 (arg1
)->SetStatusBar(arg2
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 Py_INCREF(Py_None
); resultobj
= Py_None
;
2914 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
*resultobj
;
2916 wxFrame
*arg1
= (wxFrame
*) 0 ;
2917 wxString
*arg2
= 0 ;
2918 int arg3
= (int) 0 ;
2919 bool temp2
= False
;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2923 (char *) "self",(char *) "text",(char *) "number", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2929 arg2
= wxString_in_helper(obj1
);
2930 if (arg2
== NULL
) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2940 Py_INCREF(Py_None
); resultobj
= Py_None
;
2955 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxFrame
*arg1
= (wxFrame
*) 0 ;
2959 int *arg3
= (int *) 0 ;
2960 PyObject
* obj0
= 0 ;
2961 PyObject
* obj1
= 0 ;
2963 (char *) "self",(char *) "widths", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2969 arg2
= PyList_Size(obj1
);
2970 arg3
= int_LIST_helper(obj1
);
2971 if (arg3
== NULL
) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 Py_INCREF(Py_None
); resultobj
= Py_None
;
2982 if (arg3
) delete [] arg3
;
2987 if (arg3
) delete [] arg3
;
2993 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxFrame
*arg1
= (wxFrame
*) 0 ;
2996 wxString
*arg2
= 0 ;
2997 int arg3
= (int) 0 ;
2998 bool temp2
= False
;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3002 (char *) "self",(char *) "text",(char *) "number", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3008 arg2
= wxString_in_helper(obj1
);
3009 if (arg2
== NULL
) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3019 Py_INCREF(Py_None
); resultobj
= Py_None
;
3034 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxFrame
*arg1
= (wxFrame
*) 0 ;
3037 int arg2
= (int) 0 ;
3038 PyObject
* obj0
= 0 ;
3040 (char *) "self",(char *) "number", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 (arg1
)->PopStatusText(arg2
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 Py_INCREF(Py_None
); resultobj
= Py_None
;
3059 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxFrame
*arg1
= (wxFrame
*) 0 ;
3063 PyObject
* obj0
= 0 ;
3065 (char *) "self",(char *) "n", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 (arg1
)->SetStatusBarPane(arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3077 Py_INCREF(Py_None
); resultobj
= Py_None
;
3084 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxFrame
*arg1
= (wxFrame
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3090 (char *) "self", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3102 resultobj
= PyInt_FromLong((long)result
);
3109 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxFrame
*arg1
= (wxFrame
*) 0 ;
3112 long arg2
= (long) -1 ;
3113 int arg3
= (int) -1 ;
3114 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3117 bool temp4
= False
;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj3
= 0 ;
3121 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3128 arg4
= wxString_in_helper(obj3
);
3129 if (arg4
== NULL
) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3141 resultobj
= wxPyMake_wxObject(result
);
3157 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxFrame
*arg1
= (wxFrame
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "self", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3176 resultobj
= wxPyMake_wxObject(result
);
3184 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3186 wxFrame
*arg1
= (wxFrame
*) 0 ;
3187 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3189 PyObject
* obj1
= 0 ;
3191 (char *) "self",(char *) "toolbar", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 (arg1
)->SetToolBar(arg2
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 Py_INCREF(Py_None
); resultobj
= Py_None
;
3211 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxFrame
*arg1
= (wxFrame
*) 0 ;
3214 wxString
*arg2
= 0 ;
3216 bool temp2
= False
;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3219 PyObject
* obj2
= 0 ;
3221 (char *) "self",(char *) "text",(char *) "show", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 arg2
= wxString_in_helper(obj1
);
3228 if (arg2
== NULL
) SWIG_fail
;
3231 arg3
= PyInt_AsLong(obj2
) ? true : false;
3232 if (PyErr_Occurred()) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3240 Py_INCREF(Py_None
); resultobj
= Py_None
;
3255 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxFrame
*arg1
= (wxFrame
*) 0 ;
3258 wxMenu
*arg2
= (wxMenu
*) NULL
;
3259 PyObject
* obj0
= 0 ;
3260 PyObject
* obj1
= 0 ;
3262 (char *) "self",(char *) "menu", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 (arg1
)->DoMenuUpdates(arg2
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3287 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3289 return Py_BuildValue((char *)"");
3291 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxWindow
*arg1
= (wxWindow
*) 0 ;
3295 wxString
*arg3
= 0 ;
3296 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3297 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3298 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3299 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3300 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3301 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3304 bool temp3
= False
;
3307 bool temp7
= False
;
3308 PyObject
* obj0
= 0 ;
3309 PyObject
* obj2
= 0 ;
3310 PyObject
* obj3
= 0 ;
3311 PyObject
* obj4
= 0 ;
3312 PyObject
* obj6
= 0 ;
3314 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3320 arg3
= wxString_in_helper(obj2
);
3321 if (arg3
== NULL
) SWIG_fail
;
3327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3338 arg7
= wxString_in_helper(obj6
);
3339 if (arg7
== NULL
) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3373 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 result
= (wxDialog
*)new wxDialog();
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3395 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxDialog
*arg1
= (wxDialog
*) 0 ;
3398 wxWindow
*arg2
= (wxWindow
*) 0 ;
3400 wxString
*arg4
= 0 ;
3401 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3402 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3403 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3404 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3405 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3406 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3407 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3409 bool temp4
= False
;
3412 bool temp8
= False
;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3415 PyObject
* obj3
= 0 ;
3416 PyObject
* obj4
= 0 ;
3417 PyObject
* obj5
= 0 ;
3418 PyObject
* obj7
= 0 ;
3420 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3427 arg4
= wxString_in_helper(obj3
);
3428 if (arg4
== NULL
) SWIG_fail
;
3434 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3440 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3445 arg8
= wxString_in_helper(obj7
);
3446 if (arg8
== NULL
) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= PyInt_FromLong((long)result
);
3480 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxDialog
*arg1
= (wxDialog
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3486 (char *) "self",(char *) "returnCode", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 (arg1
)->SetReturnCode(arg2
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3498 Py_INCREF(Py_None
); resultobj
= Py_None
;
3505 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
*resultobj
;
3507 wxDialog
*arg1
= (wxDialog
*) 0 ;
3509 PyObject
* obj0
= 0 ;
3511 (char *) "self", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= PyInt_FromLong((long)result
);
3530 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxDialog
*arg1
= (wxDialog
*) 0 ;
3533 wxString
*arg2
= 0 ;
3535 bool temp2
= False
;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "message", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3545 arg2
= wxString_in_helper(obj1
);
3546 if (arg2
== NULL
) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= wxPyMake_wxSizer(result
);
3573 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
;
3575 wxDialog
*arg1
= (wxDialog
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3580 (char *) "self",(char *) "flags", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 resultobj
= wxPyMake_wxSizer(result
);
3601 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxDialog
*arg1
= (wxDialog
*) 0 ;
3605 PyObject
* obj0
= 0 ;
3606 PyObject
* obj1
= 0 ;
3608 (char *) "self",(char *) "flag", NULL
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3613 arg2
= PyInt_AsLong(obj1
) ? true : false;
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 (arg1
)->SetModal(arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 Py_INCREF(Py_None
); resultobj
= Py_None
;
3629 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxDialog
*arg1
= (wxDialog
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3635 (char *) "self", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= PyInt_FromLong((long)result
);
3654 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3656 wxDialog
*arg1
= (wxDialog
*) 0 ;
3658 PyObject
* obj0
= 0 ;
3660 (char *) "self", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 result
= (int)(arg1
)->ShowModal();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= PyInt_FromLong((long)result
);
3679 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxDialog
*arg1
= (wxDialog
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3685 (char *) "self",(char *) "retCode", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->EndModal(arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxDialog
*arg1
= (wxDialog
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "self", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (bool)wxDialog_IsModalShowing(arg1
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= PyInt_FromLong((long)result
);
3729 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3732 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3734 return Py_BuildValue((char *)"");
3736 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxWindow
*arg1
= (wxWindow
*) 0 ;
3740 wxString
*arg3
= 0 ;
3741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3745 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3746 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3748 wxMiniFrame
*result
;
3749 bool temp3
= False
;
3752 bool temp7
= False
;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj2
= 0 ;
3755 PyObject
* obj3
= 0 ;
3756 PyObject
* obj4
= 0 ;
3757 PyObject
* obj6
= 0 ;
3759 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3765 arg3
= wxString_in_helper(obj2
);
3766 if (arg3
== NULL
) SWIG_fail
;
3772 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3778 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3783 arg7
= wxString_in_helper(obj6
);
3784 if (arg7
== NULL
) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3818 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxMiniFrame
*result
;
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (wxMiniFrame
*)new wxMiniFrame();
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3840 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
3843 wxWindow
*arg2
= (wxWindow
*) 0 ;
3845 wxString
*arg4
= 0 ;
3846 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3847 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3848 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3849 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3850 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3851 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3852 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3854 bool temp4
= False
;
3857 bool temp8
= False
;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3860 PyObject
* obj3
= 0 ;
3861 PyObject
* obj4
= 0 ;
3862 PyObject
* obj5
= 0 ;
3863 PyObject
* obj7
= 0 ;
3865 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3872 arg4
= wxString_in_helper(obj3
);
3873 if (arg4
== NULL
) SWIG_fail
;
3879 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3885 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3890 arg8
= wxString_in_helper(obj7
);
3891 if (arg8
== NULL
) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= PyInt_FromLong((long)result
);
3925 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
3927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3928 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
3930 return Py_BuildValue((char *)"");
3932 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxBitmap
*arg1
= 0 ;
3935 wxWindow
*arg2
= (wxWindow
*) 0 ;
3937 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3938 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3939 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3940 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3941 long arg6
= (long) wxNO_BORDER
;
3942 wxSplashScreenWindow
*result
;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3950 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
3985 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
3988 wxBitmap
*arg2
= 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "bitmap", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 Py_INCREF(Py_None
); resultobj
= Py_None
;
4015 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4019 PyObject
* obj0
= 0 ;
4021 (char *) "self", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4030 result
= (wxBitmap
*) &_result_ref
;
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4043 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4046 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4048 return Py_BuildValue((char *)"");
4050 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxBitmap
*arg1
= 0 ;
4055 wxWindow
*arg4
= (wxWindow
*) 0 ;
4057 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4058 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4059 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4060 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4061 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4062 wxSplashScreen
*result
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj3
= 0 ;
4067 PyObject
* obj5
= 0 ;
4068 PyObject
* obj6
= 0 ;
4070 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4078 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4082 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4105 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4111 (char *) "self", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= PyInt_FromLong((long)result
);
4130 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4133 wxSplashScreenWindow
*result
;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "self", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4155 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "self", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= PyInt_FromLong((long)result
);
4180 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4183 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4185 return Py_BuildValue((char *)"");
4187 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxWindow
*arg1
= (wxWindow
*) 0 ;
4190 int arg2
= (int) -1 ;
4191 long arg3
= (long) wxST_SIZEGRIP
;
4192 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4193 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4194 wxStatusBar
*result
;
4195 bool temp4
= False
;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj3
= 0 ;
4199 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4206 arg4
= wxString_in_helper(obj3
);
4207 if (arg4
== NULL
) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= wxPyMake_wxObject(result
);
4235 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxStatusBar
*result
;
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (wxStatusBar
*)new wxStatusBar();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= wxPyMake_wxObject(result
);
4259 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4262 wxWindow
*arg2
= (wxWindow
*) 0 ;
4264 long arg4
= (long) wxST_SIZEGRIP
;
4265 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4266 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4268 bool temp5
= False
;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4271 PyObject
* obj4
= 0 ;
4273 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4281 arg5
= wxString_in_helper(obj4
);
4282 if (arg5
== NULL
) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= PyInt_FromLong((long)result
);
4308 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4311 int arg2
= (int) 1 ;
4312 PyObject
* obj0
= 0 ;
4314 (char *) "self",(char *) "number", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 (arg1
)->SetFieldsCount(arg2
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 Py_INCREF(Py_None
); resultobj
= Py_None
;
4333 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4339 (char *) "self", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= PyInt_FromLong((long)result
);
4358 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4361 wxString
*arg2
= 0 ;
4362 int arg3
= (int) 0 ;
4363 bool temp2
= False
;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "text",(char *) "number", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4373 arg2
= wxString_in_helper(obj1
);
4374 if (arg2
== NULL
) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 Py_INCREF(Py_None
); resultobj
= Py_None
;
4399 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4402 int arg2
= (int) 0 ;
4404 PyObject
* obj0
= 0 ;
4406 (char *) "self",(char *) "number", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4431 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4434 wxString
*arg2
= 0 ;
4435 int arg3
= (int) 0 ;
4436 bool temp2
= False
;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4440 (char *) "self",(char *) "text",(char *) "number", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4446 arg2
= wxString_in_helper(obj1
);
4447 if (arg2
== NULL
) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4475 int arg2
= (int) 0 ;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "self",(char *) "number", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 (arg1
)->PopStatusText(arg2
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 Py_INCREF(Py_None
); resultobj
= Py_None
;
4497 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4501 int *arg3
= (int *) 0 ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4505 (char *) "self",(char *) "widths", NULL
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4511 arg2
= PyList_Size(obj1
);
4512 arg3
= int_LIST_helper(obj1
);
4513 if (arg3
== NULL
) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4524 if (arg3
) delete [] arg3
;
4529 if (arg3
) delete [] arg3
;
4535 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self",(char *) "i", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4556 resultptr
= new wxRect((wxRect
&) result
);
4557 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4565 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "self",(char *) "height", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 (arg1
)->SetMinHeight(arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 Py_INCREF(Py_None
); resultobj
= Py_None
;
4590 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "self", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= PyInt_FromLong((long)result
);
4615 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= PyInt_FromLong((long)result
);
4640 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4643 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4645 return Py_BuildValue((char *)"");
4647 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxWindow
*arg1
= (wxWindow
*) 0 ;
4651 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4652 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4653 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4654 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4655 long arg5
= (long) wxSP_3D
;
4656 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4657 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4658 wxSplitterWindow
*result
;
4661 bool temp6
= False
;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj2
= 0 ;
4664 PyObject
* obj3
= 0 ;
4665 PyObject
* obj5
= 0 ;
4667 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4681 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4686 arg6
= wxString_in_helper(obj5
);
4687 if (arg6
== NULL
) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4713 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxSplitterWindow
*result
;
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4735 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4738 wxWindow
*arg2
= (wxWindow
*) 0 ;
4740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4744 long arg6
= (long) wxSP_3D
;
4745 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
4746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4750 bool temp7
= False
;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj3
= 0 ;
4754 PyObject
* obj4
= 0 ;
4755 PyObject
* obj6
= 0 ;
4757 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4777 arg7
= wxString_in_helper(obj6
);
4778 if (arg7
== NULL
) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= PyInt_FromLong((long)result
);
4804 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= wxPyMake_wxObject(result
);
4831 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4837 (char *) "self", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
4841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= wxPyMake_wxObject(result
);
4858 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4864 (char *) "self",(char *) "mode", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 (arg1
)->SetSplitMode(arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 Py_INCREF(Py_None
); resultobj
= Py_None
;
4883 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "self", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
4893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= PyInt_FromLong((long)result
);
4908 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4911 wxWindow
*arg2
= (wxWindow
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4913 PyObject
* obj1
= 0 ;
4915 (char *) "self",(char *) "window", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->Initialize(arg2
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4938 wxWindow
*arg2
= (wxWindow
*) 0 ;
4939 wxWindow
*arg3
= (wxWindow
*) 0 ;
4940 int arg4
= (int) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 PyObject
* obj2
= 0 ;
4946 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4952 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= PyInt_FromLong((long)result
);
4967 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4970 wxWindow
*arg2
= (wxWindow
*) 0 ;
4971 wxWindow
*arg3
= (wxWindow
*) 0 ;
4972 int arg4
= (int) 0 ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 PyObject
* obj2
= 0 ;
4978 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4984 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= PyInt_FromLong((long)result
);
4999 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5002 wxWindow
*arg2
= (wxWindow
*) NULL
;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "toRemove", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (bool)(arg1
)->Unsplit(arg2
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= PyInt_FromLong((long)result
);
5029 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5032 wxWindow
*arg2
= (wxWindow
*) 0 ;
5033 wxWindow
*arg3
= (wxWindow
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5037 PyObject
* obj2
= 0 ;
5039 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5045 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= PyInt_FromLong((long)result
);
5060 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5064 PyObject
* obj0
= 0 ;
5066 (char *) "self", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= PyInt_FromLong((long)result
);
5085 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self",(char *) "width", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetSashSize(arg2
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 Py_INCREF(Py_None
); resultobj
= Py_None
;
5110 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self",(char *) "width", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 (arg1
)->SetBorderSize(arg2
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 Py_INCREF(Py_None
); resultobj
= Py_None
;
5135 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= PyInt_FromLong((long)result
);
5160 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "self", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= PyInt_FromLong((long)result
);
5185 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5189 bool arg3
= (bool) True
;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj2
= 0 ;
5193 (char *) "self",(char *) "position",(char *) "redraw", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5199 arg3
= PyInt_AsLong(obj2
) ? true : false;
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 (arg1
)->SetSashPosition(arg2
,arg3
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 Py_INCREF(Py_None
); resultobj
= Py_None
;
5216 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5222 (char *) "self", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= PyInt_FromLong((long)result
);
5241 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5247 (char *) "self",(char *) "min", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 (arg1
)->SetMinimumPaneSize(arg2
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5266 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5272 (char *) "self", NULL
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= PyInt_FromLong((long)result
);
5291 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5296 int arg4
= (int) 5 ;
5298 PyObject
* obj0
= 0 ;
5300 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 resultobj
= PyInt_FromLong((long)result
);
5319 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5324 (char *) "self", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SizeWindows();
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5350 (char *) "self",(char *) "needUpdating", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5355 arg2
= PyInt_AsLong(obj1
) ? true : false;
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 (arg1
)->SetNeedUpdating(arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 Py_INCREF(Py_None
); resultobj
= Py_None
;
5371 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5375 PyObject
* obj0
= 0 ;
5377 (char *) "self", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= PyInt_FromLong((long)result
);
5396 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5399 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5401 return Py_BuildValue((char *)"");
5403 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5406 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5407 wxSplitterEvent
*result
;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "type",(char *) "splitter", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5431 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5437 (char *) "self",(char *) "pos", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 (arg1
)->SetSashPosition(arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 Py_INCREF(Py_None
); resultobj
= Py_None
;
5456 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5460 PyObject
* obj0
= 0 ;
5462 (char *) "self", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= PyInt_FromLong((long)result
);
5481 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5487 (char *) "self", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= wxPyMake_wxObject(result
);
5508 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5514 (char *) "self", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= PyInt_FromLong((long)result
);
5533 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "self", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= PyInt_FromLong((long)result
);
5558 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5561 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5563 return Py_BuildValue((char *)"");
5565 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxWindow
*arg1
= (wxWindow
*) 0 ;
5569 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5570 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5571 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5572 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5573 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5574 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5575 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5576 wxSashWindow
*result
;
5579 bool temp6
= False
;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj2
= 0 ;
5582 PyObject
* obj3
= 0 ;
5583 PyObject
* obj5
= 0 ;
5585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5604 arg6
= wxString_in_helper(obj5
);
5605 if (arg6
== NULL
) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5631 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxSashWindow
*result
;
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxSashWindow
*)new wxSashWindow();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5653 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5656 wxWindow
*arg2
= (wxWindow
*) 0 ;
5658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5662 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5663 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5668 bool temp7
= False
;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj3
= 0 ;
5672 PyObject
* obj4
= 0 ;
5673 PyObject
* obj6
= 0 ;
5675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5695 arg7
= wxString_in_helper(obj6
);
5696 if (arg7
== NULL
) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= PyInt_FromLong((long)result
);
5722 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj2
= 0 ;
5730 (char *) "self",(char *) "edge",(char *) "sash", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5735 arg3
= PyInt_AsLong(obj2
) ? true : false;
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5758 (char *) "self",(char *) "edge", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= PyInt_FromLong((long)result
);
5777 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj2
= 0 ;
5785 (char *) "self",(char *) "edge",(char *) "border", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5790 arg3
= PyInt_AsLong(obj2
) ? true : false;
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 Py_INCREF(Py_None
); resultobj
= Py_None
;
5806 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "self",(char *) "edge", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= PyInt_FromLong((long)result
);
5832 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self",(char *) "edge", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= PyInt_FromLong((long)result
);
5858 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self",(char *) "width", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 (arg1
)->SetDefaultBorderSize(arg2
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 Py_INCREF(Py_None
); resultobj
= Py_None
;
5883 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= PyInt_FromLong((long)result
);
5908 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "self",(char *) "width", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 (arg1
)->SetExtraBorderSize(arg2
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 Py_INCREF(Py_None
); resultobj
= Py_None
;
5933 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5939 (char *) "self", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
5943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= PyInt_FromLong((long)result
);
5958 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5964 (char *) "self",(char *) "min", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 (arg1
)->SetMinimumSizeX(arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5983 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self",(char *) "min", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 (arg1
)->SetMinimumSizeY(arg2
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6008 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= PyInt_FromLong((long)result
);
6033 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= PyInt_FromLong((long)result
);
6058 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6062 PyObject
* obj0
= 0 ;
6064 (char *) "self",(char *) "max", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 (arg1
)->SetMaximumSizeX(arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 Py_INCREF(Py_None
); resultobj
= Py_None
;
6083 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self",(char *) "max", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 (arg1
)->SetMaximumSizeY(arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 Py_INCREF(Py_None
); resultobj
= Py_None
;
6108 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6114 (char *) "self", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= PyInt_FromLong((long)result
);
6133 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6139 (char *) "self", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= PyInt_FromLong((long)result
);
6158 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6163 int arg4
= (int) 2 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= PyInt_FromLong((long)result
);
6186 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "self", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 (arg1
)->SizeWindows();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 Py_INCREF(Py_None
); resultobj
= Py_None
;
6210 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6213 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6215 return Py_BuildValue((char *)"");
6217 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 int arg1
= (int) 0 ;
6220 int arg2
= (int) wxSASH_NONE
;
6221 wxSashEvent
*result
;
6223 (char *) "id",(char *) "edge", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6241 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 (char *) "self",(char *) "edge", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 Py_INCREF(Py_None
); resultobj
= Py_None
;
6266 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= PyInt_FromLong((long)result
);
6291 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6299 (char *) "self",(char *) "rect", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 Py_INCREF(Py_None
); resultobj
= Py_None
;
6322 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "self", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6342 resultptr
= new wxRect((wxRect
&) result
);
6343 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6351 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6357 (char *) "self",(char *) "status", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 Py_INCREF(Py_None
); resultobj
= Py_None
;
6376 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= PyInt_FromLong((long)result
);
6401 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6404 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6406 return Py_BuildValue((char *)"");
6408 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 int arg1
= (int) 0 ;
6411 wxQueryLayoutInfoEvent
*result
;
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6431 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6437 (char *) "self",(char *) "length", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 (arg1
)->SetRequestedLength(arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6462 (char *) "self", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= PyInt_FromLong((long)result
);
6481 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6487 (char *) "self",(char *) "flags", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 (arg1
)->SetFlags(arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 Py_INCREF(Py_None
); resultobj
= Py_None
;
6506 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6508 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6512 (char *) "self", NULL
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= PyInt_FromLong((long)result
);
6531 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6539 (char *) "self",(char *) "size", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 (arg1
)->SetSize((wxSize
const &)*arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 Py_INCREF(Py_None
); resultobj
= Py_None
;
6562 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6568 (char *) "self", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6582 resultptr
= new wxSize((wxSize
&) result
);
6583 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6591 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self",(char *) "orient", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "self", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= PyInt_FromLong((long)result
);
6641 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self",(char *) "align", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 Py_INCREF(Py_None
); resultobj
= Py_None
;
6666 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6672 (char *) "self", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= PyInt_FromLong((long)result
);
6691 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6694 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
6696 return Py_BuildValue((char *)"");
6698 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 int arg1
= (int) 0 ;
6701 wxCalculateLayoutEvent
*result
;
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
6721 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self",(char *) "flags", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 (arg1
)->SetFlags(arg2
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 Py_INCREF(Py_None
); resultobj
= Py_None
;
6746 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6752 (char *) "self", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= PyInt_FromLong((long)result
);
6771 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6779 (char *) "self",(char *) "rect", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6786 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 (arg1
)->SetRect((wxRect
const &)*arg2
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 Py_INCREF(Py_None
); resultobj
= Py_None
;
6802 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6806 PyObject
* obj0
= 0 ;
6808 (char *) "self", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6822 resultptr
= new wxRect((wxRect
&) result
);
6823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6831 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6834 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
6836 return Py_BuildValue((char *)"");
6838 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxWindow
*arg1
= (wxWindow
*) 0 ;
6842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6846 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6847 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
6848 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6849 wxSashLayoutWindow
*result
;
6852 bool temp6
= False
;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj2
= 0 ;
6855 PyObject
* obj3
= 0 ;
6856 PyObject
* obj5
= 0 ;
6858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
6862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6877 arg6
= wxString_in_helper(obj5
);
6878 if (arg6
== NULL
) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6904 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxSashLayoutWindow
*result
;
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6926 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6929 wxWindow
*arg2
= (wxWindow
*) 0 ;
6931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6935 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6936 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
6937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6941 bool temp7
= False
;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 PyObject
* obj3
= 0 ;
6945 PyObject
* obj4
= 0 ;
6946 PyObject
* obj6
= 0 ;
6948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6968 arg7
= wxString_in_helper(obj6
);
6969 if (arg7
== NULL
) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= PyInt_FromLong((long)result
);
6995 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7001 (char *) "self", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (int)(arg1
)->GetAlignment();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= PyInt_FromLong((long)result
);
7020 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7024 PyObject
* obj0
= 0 ;
7026 (char *) "self", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= (int)(arg1
)->GetOrientation();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= PyInt_FromLong((long)result
);
7045 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7051 (char *) "self",(char *) "alignment", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "size", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 Py_INCREF(Py_None
); resultobj
= Py_None
;
7101 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7105 PyObject
* obj0
= 0 ;
7107 (char *) "self",(char *) "orientation", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 Py_INCREF(Py_None
); resultobj
= Py_None
;
7126 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7129 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7131 return Py_BuildValue((char *)"");
7133 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxLayoutAlgorithm
*result
;
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7155 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "self", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7179 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7182 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7183 wxRect
*arg3
= (wxRect
*) NULL
;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7187 PyObject
* obj2
= 0 ;
7189 (char *) "self",(char *) "frame",(char *) "rect", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7196 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= PyInt_FromLong((long)result
);
7212 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7215 wxFrame
*arg2
= (wxFrame
*) 0 ;
7216 wxWindow
*arg3
= (wxWindow
*) NULL
;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7222 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7229 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= PyInt_FromLong((long)result
);
7245 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7248 wxWindow
*arg2
= (wxWindow
*) 0 ;
7249 wxWindow
*arg3
= (wxWindow
*) NULL
;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7253 PyObject
* obj2
= 0 ;
7255 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7262 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= PyInt_FromLong((long)result
);
7278 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7281 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7283 return Py_BuildValue((char *)"");
7285 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxWindow
*arg1
= (wxWindow
*) 0 ;
7288 int arg2
= (int) wxBORDER_NONE
;
7289 wxPopupWindow
*result
;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "parent",(char *) "flags", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7311 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxPopupWindow
*result
;
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (wxPopupWindow
*)new wxPopupWindow();
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7333 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7336 wxWindow
*arg2
= (wxWindow
*) 0 ;
7337 int arg3
= (int) wxBORDER_NONE
;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7342 (char *) "self",(char *) "parent",(char *) "flags", NULL
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= PyInt_FromLong((long)result
);
7362 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7371 PyObject
* obj2
= 0 ;
7373 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7384 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 Py_INCREF(Py_None
); resultobj
= Py_None
;
7400 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7403 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7405 return Py_BuildValue((char *)"");
7407 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxWindow
*arg1
= (wxWindow
*) 0 ;
7410 int arg2
= (int) wxBORDER_NONE
;
7411 wxPyPopupTransientWindow
*result
;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "parent",(char *) "style", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7433 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxPyPopupTransientWindow
*result
;
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7455 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7458 PyObject
*arg2
= (PyObject
*) 0 ;
7459 PyObject
*arg3
= (PyObject
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7464 (char *) "self",(char *) "self",(char *) "_class", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7488 wxWindow
*arg2
= (wxWindow
*) NULL
;
7489 PyObject
* obj0
= 0 ;
7490 PyObject
* obj1
= 0 ;
7492 (char *) "self",(char *) "focus", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 (arg1
)->Popup(arg2
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 Py_INCREF(Py_None
); resultobj
= Py_None
;
7514 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "self", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 Py_INCREF(Py_None
); resultobj
= Py_None
;
7538 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7543 return Py_BuildValue((char *)"");
7545 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxWindow
*arg1
= (wxWindow
*) 0 ;
7548 wxString
*arg2
= 0 ;
7549 int arg3
= (int) 100 ;
7550 wxRect
*arg4
= (wxRect
*) NULL
;
7551 wxTipWindow
*result
;
7552 bool temp2
= False
;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7555 PyObject
* obj3
= 0 ;
7557 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7563 arg2
= wxString_in_helper(obj1
);
7564 if (arg2
== NULL
) SWIG_fail
;
7568 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7592 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7600 (char *) "self",(char *) "rectBound", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7607 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 Py_INCREF(Py_None
); resultobj
= Py_None
;
7623 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 Py_INCREF(Py_None
); resultobj
= Py_None
;
7647 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7650 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7652 return Py_BuildValue((char *)"");
7654 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxWindow
*arg1
= (wxWindow
*) 0 ;
7657 int arg2
= (int) wxID_ANY
;
7658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7660 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7661 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7662 long arg5
= (long) 0 ;
7663 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7664 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7665 wxPyVScrolledWindow
*result
;
7668 bool temp6
= False
;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj2
= 0 ;
7671 PyObject
* obj3
= 0 ;
7672 PyObject
* obj5
= 0 ;
7674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7688 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7693 arg6
= wxString_in_helper(obj5
);
7694 if (arg6
== NULL
) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7720 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxPyVScrolledWindow
*result
;
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7742 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7745 PyObject
*arg2
= (PyObject
*) 0 ;
7746 PyObject
*arg3
= (PyObject
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7749 PyObject
* obj2
= 0 ;
7751 (char *) "self",(char *) "self",(char *) "_class", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 Py_INCREF(Py_None
); resultobj
= Py_None
;
7772 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7775 wxWindow
*arg2
= (wxWindow
*) 0 ;
7776 int arg3
= (int) wxID_ANY
;
7777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7781 long arg6
= (long) 0 ;
7782 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7787 bool temp7
= False
;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7790 PyObject
* obj3
= 0 ;
7791 PyObject
* obj4
= 0 ;
7792 PyObject
* obj6
= 0 ;
7794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7803 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7809 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7814 arg7
= wxString_in_helper(obj6
);
7815 if (arg7
== NULL
) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= PyInt_FromLong((long)result
);
7841 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7848 (char *) "self",(char *) "count", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7853 arg2
= (size_t) PyInt_AsLong(obj1
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->SetLineCount(arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7877 (char *) "self",(char *) "line", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7882 arg2
= (size_t) PyInt_AsLong(obj1
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (bool)(arg1
)->ScrollToLine(arg2
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= PyInt_FromLong((long)result
);
7898 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self",(char *) "lines", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (bool)(arg1
)->ScrollLines(arg2
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= PyInt_FromLong((long)result
);
7924 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self",(char *) "pages", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (bool)(arg1
)->ScrollPages(arg2
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= PyInt_FromLong((long)result
);
7950 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7957 (char *) "self",(char *) "line", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7962 arg2
= (size_t) PyInt_AsLong(obj1
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 (arg1
)->RefreshLine(arg2
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 Py_INCREF(Py_None
); resultobj
= Py_None
;
7978 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7985 PyObject
* obj2
= 0 ;
7987 (char *) "self",(char *) "from",(char *) "to", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7992 arg2
= (size_t) PyInt_AsLong(obj1
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7994 arg3
= (size_t) PyInt_AsLong(obj2
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->RefreshLines(arg2
,arg3
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self",(char *) "x",(char *) "y", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= PyInt_FromLong((long)result
);
8037 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8046 (char *) "self",(char *) "pt", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= PyInt_FromLong((long)result
);
8069 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 (arg1
)->RefreshAll();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= PyInt_FromLong((long)result
);
8118 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "self", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= PyInt_FromLong((long)result
);
8143 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8149 (char *) "self", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= PyInt_FromLong((long)result
);
8168 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8176 (char *) "self",(char *) "line", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8181 arg2
= (size_t) PyInt_AsLong(obj1
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= PyInt_FromLong((long)result
);
8197 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8200 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8202 return Py_BuildValue((char *)"");
8204 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxWindow
*arg1
= (wxWindow
*) 0 ;
8207 int arg2
= (int) wxID_ANY
;
8208 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8209 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8210 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8211 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8212 long arg5
= (long) 0 ;
8213 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8214 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8215 wxPyVListBox
*result
;
8218 bool temp6
= False
;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj2
= 0 ;
8221 PyObject
* obj3
= 0 ;
8222 PyObject
* obj5
= 0 ;
8224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8238 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8243 arg6
= wxString_in_helper(obj5
);
8244 if (arg6
== NULL
) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8270 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxPyVListBox
*result
;
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (wxPyVListBox
*)new wxPyVListBox();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8292 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8295 PyObject
*arg2
= (PyObject
*) 0 ;
8296 PyObject
*arg3
= (PyObject
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8301 (char *) "self",(char *) "self",(char *) "_class", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8325 wxWindow
*arg2
= (wxWindow
*) 0 ;
8326 int arg3
= (int) wxID_ANY
;
8327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8331 long arg6
= (long) 0 ;
8332 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8333 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8337 bool temp7
= False
;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 PyObject
* obj3
= 0 ;
8341 PyObject
* obj4
= 0 ;
8342 PyObject
* obj6
= 0 ;
8344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8364 arg7
= wxString_in_helper(obj6
);
8365 if (arg7
== NULL
) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= PyInt_FromLong((long)result
);
8391 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8395 PyObject
* obj0
= 0 ;
8397 (char *) "self", NULL
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= PyInt_FromLong((long)result
);
8416 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8422 (char *) "self", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= PyInt_FromLong((long)result
);
8441 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
;
8443 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8445 PyObject
* obj0
= 0 ;
8447 (char *) "self", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= PyInt_FromLong((long)result
);
8466 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8471 PyObject
* obj0
= 0 ;
8472 PyObject
* obj1
= 0 ;
8474 (char *) "self",(char *) "item", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8479 arg2
= (size_t) PyInt_AsLong(obj1
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= PyInt_FromLong((long)result
);
8495 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8503 (char *) "self",(char *) "item", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8508 arg2
= (size_t) PyInt_AsLong(obj1
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= PyInt_FromLong((long)result
);
8524 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8528 PyObject
* obj0
= 0 ;
8530 (char *) "self", NULL
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= PyInt_FromLong((long)result
);
8549 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8552 unsigned long *arg2
= 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8557 (char *) "self",(char *) "cookie", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= PyInt_FromLong((long)result
);
8580 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8583 unsigned long *arg2
= 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8588 (char *) "self",(char *) "cookie", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8595 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= PyInt_FromLong((long)result
);
8611 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8617 (char *) "self", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8630 wxPoint
* resultptr
;
8631 resultptr
= new wxPoint((wxPoint
&) result
);
8632 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8640 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "self", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8655 result
= (wxColour
*) &_result_ref
;
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8668 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8675 (char *) "self",(char *) "count", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8680 arg2
= (size_t) PyInt_AsLong(obj1
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 (arg1
)->SetItemCount(arg2
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8696 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8701 (char *) "self", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",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();
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 Py_INCREF(Py_None
); resultobj
= Py_None
;
8720 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8726 (char *) "self",(char *) "selection", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 (arg1
)->SetSelection(arg2
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 Py_INCREF(Py_None
); resultobj
= Py_None
;
8745 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8749 bool arg3
= (bool) True
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8755 (char *) "self",(char *) "item",(char *) "select", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8760 arg2
= (size_t) PyInt_AsLong(obj1
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 arg3
= PyInt_AsLong(obj2
) ? true : false;
8764 if (PyErr_Occurred()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= PyInt_FromLong((long)result
);
8780 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8788 PyObject
* obj2
= 0 ;
8790 (char *) "self",(char *) "from",(char *) "to", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8795 arg2
= (size_t) PyInt_AsLong(obj1
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8797 arg3
= (size_t) PyInt_AsLong(obj2
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= PyInt_FromLong((long)result
);
8813 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
;
8815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8820 (char *) "self",(char *) "item", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8825 arg2
= (size_t) PyInt_AsLong(obj1
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->Toggle(arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8845 PyObject
* obj0
= 0 ;
8847 (char *) "self", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (bool)(arg1
)->SelectAll();
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= PyInt_FromLong((long)result
);
8866 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8870 PyObject
* obj0
= 0 ;
8872 (char *) "self", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (bool)(arg1
)->DeselectAll();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= PyInt_FromLong((long)result
);
8891 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8899 (char *) "self",(char *) "pt", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self",(char *) "x",(char *) "y", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 (arg1
)->SetMargins(arg2
,arg3
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8948 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8951 wxColour
*arg2
= 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8956 (char *) "self",(char *) "col", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8979 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
8981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8982 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
8984 return Py_BuildValue((char *)"");
8986 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxWindow
*arg1
= (wxWindow
*) 0 ;
8989 int arg2
= (int) wxID_ANY
;
8990 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8991 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8992 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8993 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8994 long arg5
= (long) 0 ;
8995 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8996 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8997 wxPyHtmlListBox
*result
;
9000 bool temp6
= False
;
9001 PyObject
* obj0
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 PyObject
* obj3
= 0 ;
9004 PyObject
* obj5
= 0 ;
9006 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9020 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9025 arg6
= wxString_in_helper(obj5
);
9026 if (arg6
== NULL
) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9052 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxPyHtmlListBox
*result
;
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9074 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9077 PyObject
*arg2
= (PyObject
*) 0 ;
9078 PyObject
*arg3
= (PyObject
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 PyObject
* obj2
= 0 ;
9083 (char *) "self",(char *) "self",(char *) "_class", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9107 wxWindow
*arg2
= (wxWindow
*) 0 ;
9108 int arg3
= (int) wxID_ANY
;
9109 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9110 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9111 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9112 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9113 long arg6
= (long) 0 ;
9114 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9115 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9119 bool temp7
= False
;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 PyObject
* obj3
= 0 ;
9123 PyObject
* obj4
= 0 ;
9124 PyObject
* obj6
= 0 ;
9126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9146 arg7
= wxString_in_helper(obj6
);
9147 if (arg7
== NULL
) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= PyInt_FromLong((long)result
);
9173 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9178 (char *) "self", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 (arg1
)->RefreshAll();
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 Py_INCREF(Py_None
); resultobj
= Py_None
;
9197 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "count", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9209 arg2
= (size_t) PyInt_AsLong(obj1
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 (arg1
)->SetItemCount(arg2
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 Py_INCREF(Py_None
); resultobj
= Py_None
;
9225 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9228 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9230 return Py_BuildValue((char *)"");
9232 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxTaskBarIcon
*result
;
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9254 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9257 PyObject
* obj0
= 0 ;
9259 (char *) "self", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 Py_INCREF(Py_None
); resultobj
= Py_None
;
9278 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "self", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= PyInt_FromLong((long)result
);
9303 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= PyInt_FromLong((long)result
);
9328 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9332 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9333 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9335 bool temp3
= False
;
9336 PyObject
* obj0
= 0 ;
9337 PyObject
* obj1
= 0 ;
9338 PyObject
* obj2
= 0 ;
9340 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9351 arg3
= wxString_in_helper(obj2
);
9352 if (arg3
== NULL
) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= PyInt_FromLong((long)result
);
9378 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9384 (char *) "self", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (bool)(arg1
)->RemoveIcon();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= PyInt_FromLong((long)result
);
9403 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
;
9405 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9406 wxMenu
*arg2
= (wxMenu
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9411 (char *) "self",(char *) "menu", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (bool)(arg1
)->PopupMenu(arg2
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= PyInt_FromLong((long)result
);
9431 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9434 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9436 return Py_BuildValue((char *)"");
9438 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9441 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9442 wxTaskBarIconEvent
*result
;
9443 PyObject
* obj1
= 0 ;
9445 (char *) "evtType",(char *) "tbIcon", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9464 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9467 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9469 return Py_BuildValue((char *)"");
9471 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxColourData
*result
;
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (wxColourData
*)new wxColourData();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9493 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxColourData
*arg1
= (wxColourData
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 Py_INCREF(Py_None
); resultobj
= Py_None
;
9517 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxColourData
*arg1
= (wxColourData
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (bool)(arg1
)->GetChooseFull();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= PyInt_FromLong((long)result
);
9542 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxColourData
*arg1
= (wxColourData
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "self", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (arg1
)->GetColour();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 wxColour
* resultptr
;
9562 resultptr
= new wxColour((wxColour
&) result
);
9563 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9571 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxColourData
*arg1
= (wxColourData
*) 0 ;
9576 PyObject
* obj0
= 0 ;
9578 (char *) "self",(char *) "i", NULL
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (arg1
)->GetCustomColour(arg2
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9591 wxColour
* resultptr
;
9592 resultptr
= new wxColour((wxColour
&) result
);
9593 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9601 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxColourData
*arg1
= (wxColourData
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "self",(char *) "flag", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetChooseFull(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxColourData
*arg1
= (wxColourData
*) 0 ;
9629 wxColour
*arg2
= 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9634 (char *) "self",(char *) "colour", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9641 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 (arg1
)->SetColour((wxColour
const &)*arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 Py_INCREF(Py_None
); resultobj
= Py_None
;
9657 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxColourData
*arg1
= (wxColourData
*) 0 ;
9661 wxColour
*arg3
= 0 ;
9663 PyObject
* obj0
= 0 ;
9664 PyObject
* obj2
= 0 ;
9666 (char *) "self",(char *) "i",(char *) "colour", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9673 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 Py_INCREF(Py_None
); resultobj
= Py_None
;
9689 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9692 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9694 return Py_BuildValue((char *)"");
9696 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxWindow
*arg1
= (wxWindow
*) 0 ;
9699 wxColourData
*arg2
= (wxColourData
*) NULL
;
9700 wxColourDialog
*result
;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9704 (char *) "parent",(char *) "data", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9726 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9729 wxColourData
*result
;
9730 PyObject
* obj0
= 0 ;
9732 (char *) "self", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9741 result
= (wxColourData
*) &_result_ref
;
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9754 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9756 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9760 (char *) "self", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (int)(arg1
)->ShowModal();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= PyInt_FromLong((long)result
);
9779 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9782 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
9784 return Py_BuildValue((char *)"");
9786 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxWindow
*arg1
= (wxWindow
*) 0 ;
9789 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
9790 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9791 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9792 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9793 long arg4
= (long) 0 ;
9794 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9795 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9796 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9797 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9798 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
9799 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9800 wxDirDialog
*result
;
9801 bool temp2
= False
;
9802 bool temp3
= False
;
9805 bool temp7
= False
;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 PyObject
* obj2
= 0 ;
9809 PyObject
* obj4
= 0 ;
9810 PyObject
* obj5
= 0 ;
9811 PyObject
* obj6
= 0 ;
9813 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9820 arg2
= wxString_in_helper(obj1
);
9821 if (arg2
== NULL
) SWIG_fail
;
9827 arg3
= wxString_in_helper(obj2
);
9828 if (arg3
== NULL
) SWIG_fail
;
9835 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9841 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9846 arg7
= wxString_in_helper(obj6
);
9847 if (arg7
== NULL
) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
9889 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (arg1
)->GetPath();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9920 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9926 (char *) "self", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (arg1
)->GetMessage();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9951 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (long)(arg1
)->GetStyle();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= PyInt_FromLong((long)result
);
9976 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9979 wxString
*arg2
= 0 ;
9980 bool temp2
= False
;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "message", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9990 arg2
= wxString_in_helper(obj1
);
9991 if (arg2
== NULL
) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->SetMessage((wxString
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 Py_INCREF(Py_None
); resultobj
= Py_None
;
10016 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10019 wxString
*arg2
= 0 ;
10020 bool temp2
= False
;
10021 PyObject
* obj0
= 0 ;
10022 PyObject
* obj1
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self",(char *) "path", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10030 arg2
= wxString_in_helper(obj1
);
10031 if (arg2
== NULL
) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 (arg1
)->SetPath((wxString
const &)*arg2
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 Py_INCREF(Py_None
); resultobj
= Py_None
;
10056 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (int)(arg1
)->ShowModal();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= PyInt_FromLong((long)result
);
10081 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10084 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10086 return Py_BuildValue((char *)"");
10088 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxWindow
*arg1
= (wxWindow
*) 0 ;
10091 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10092 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10095 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10096 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10097 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10098 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10099 long arg6
= (long) 0 ;
10100 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10101 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10102 wxFileDialog
*result
;
10103 bool temp2
= False
;
10104 bool temp3
= False
;
10105 bool temp4
= False
;
10106 bool temp5
= False
;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 PyObject
* obj2
= 0 ;
10111 PyObject
* obj3
= 0 ;
10112 PyObject
* obj4
= 0 ;
10113 PyObject
* obj6
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10122 arg2
= wxString_in_helper(obj1
);
10123 if (arg2
== NULL
) SWIG_fail
;
10129 arg3
= wxString_in_helper(obj2
);
10130 if (arg3
== NULL
) SWIG_fail
;
10136 arg4
= wxString_in_helper(obj3
);
10137 if (arg4
== NULL
) SWIG_fail
;
10143 arg5
= wxString_in_helper(obj4
);
10144 if (arg5
== NULL
) SWIG_fail
;
10151 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10200 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10203 wxString
*arg2
= 0 ;
10204 bool temp2
= False
;
10205 PyObject
* obj0
= 0 ;
10206 PyObject
* obj1
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self",(char *) "message", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10214 arg2
= wxString_in_helper(obj1
);
10215 if (arg2
== NULL
) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 (arg1
)->SetMessage((wxString
const &)*arg2
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 Py_INCREF(Py_None
); resultobj
= Py_None
;
10240 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10243 wxString
*arg2
= 0 ;
10244 bool temp2
= False
;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self",(char *) "path", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10254 arg2
= wxString_in_helper(obj1
);
10255 if (arg2
== NULL
) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 (arg1
)->SetPath((wxString
const &)*arg2
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10283 wxString
*arg2
= 0 ;
10284 bool temp2
= False
;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "dir", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,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
)->SetDirectory((wxString
const &)*arg2
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10323 wxString
*arg2
= 0 ;
10324 bool temp2
= False
;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "name", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,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
)->SetFilename((wxString
const &)*arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 Py_INCREF(Py_None
); resultobj
= Py_None
;
10360 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10363 wxString
*arg2
= 0 ;
10364 bool temp2
= False
;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "wildCard", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10374 arg2
= wxString_in_helper(obj1
);
10375 if (arg2
== NULL
) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "style", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->SetStyle(arg2
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self",(char *) "filterIndex", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetFilterIndex(arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10450 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10481 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10512 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10543 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10574 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10605 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= PyInt_FromLong((long)result
);
10630 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10634 PyObject
* obj0
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= PyInt_FromLong((long)result
);
10655 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= result
;
10680 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= result
;
10705 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10708 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10710 return Py_BuildValue((char *)"");
10712 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxWindow
*arg1
= (wxWindow
*) 0 ;
10715 wxString
*arg2
= 0 ;
10716 wxString
*arg3
= 0 ;
10718 wxString
*arg5
= (wxString
*) 0 ;
10719 long arg6
= (long) wxCHOICEDLG_STYLE
;
10720 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10721 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10722 wxMultiChoiceDialog
*result
;
10723 bool temp2
= False
;
10724 bool temp3
= False
;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 PyObject
* obj2
= 0 ;
10729 PyObject
* obj4
= 0 ;
10730 PyObject
* obj6
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10738 arg2
= wxString_in_helper(obj1
);
10739 if (arg2
== NULL
) SWIG_fail
;
10743 arg3
= wxString_in_helper(obj2
);
10744 if (arg3
== NULL
) SWIG_fail
;
10747 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10751 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
10784 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10787 wxArrayInt
*arg2
= 0 ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "selections", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10797 if (! PySequence_Check(obj1
)) {
10798 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10801 arg2
= new wxArrayInt
;
10802 int i
, len
=PySequence_Length(obj1
);
10803 for (i
=0; i
<len
; i
++) {
10804 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10805 PyObject
* number
= PyNumber_Int(item
);
10806 arg2
->Add(PyInt_AS_LONG(number
));
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 if (arg2
) delete arg2
;
10825 if (arg2
) delete arg2
;
10831 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= result
;
10856 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10859 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
10861 return Py_BuildValue((char *)"");
10863 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxWindow
*arg1
= (wxWindow
*) 0 ;
10866 wxString
*arg2
= 0 ;
10867 wxString
*arg3
= 0 ;
10869 wxString
*arg5
= (wxString
*) 0 ;
10870 long arg6
= (long) wxCHOICEDLG_STYLE
;
10871 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10872 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10873 wxSingleChoiceDialog
*result
;
10874 bool temp2
= False
;
10875 bool temp3
= False
;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 PyObject
* obj2
= 0 ;
10880 PyObject
* obj3
= 0 ;
10881 PyObject
* obj5
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10889 arg2
= wxString_in_helper(obj1
);
10890 if (arg2
== NULL
) SWIG_fail
;
10894 arg3
= wxString_in_helper(obj2
);
10895 if (arg3
== NULL
) SWIG_fail
;
10899 arg4
= PyList_Size(obj3
);
10900 arg5
= wxString_LIST_helper(obj3
);
10901 if (arg5
== NULL
) SWIG_fail
;
10906 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
10926 if (arg5
) delete [] arg5
;
10939 if (arg5
) delete [] arg5
;
10945 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10949 PyObject
* obj0
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (int)(arg1
)->GetSelection();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= PyInt_FromLong((long)result
);
10970 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (arg1
)->GetStringSelection();
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11001 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "sel", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 (arg1
)->SetSelection(arg2
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 Py_INCREF(Py_None
); resultobj
= Py_None
;
11026 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11030 PyObject
* obj0
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (int)(arg1
)->ShowModal();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= PyInt_FromLong((long)result
);
11051 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11054 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11056 return Py_BuildValue((char *)"");
11058 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxWindow
*arg1
= (wxWindow
*) 0 ;
11061 wxString
*arg2
= 0 ;
11062 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11064 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11065 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11066 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11067 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11068 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11069 wxTextEntryDialog
*result
;
11070 bool temp2
= False
;
11071 bool temp3
= False
;
11072 bool temp4
= False
;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 PyObject
* obj2
= 0 ;
11077 PyObject
* obj3
= 0 ;
11078 PyObject
* obj5
= 0 ;
11079 char *kwnames
[] = {
11080 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11086 arg2
= wxString_in_helper(obj1
);
11087 if (arg2
== NULL
) SWIG_fail
;
11092 arg3
= wxString_in_helper(obj2
);
11093 if (arg3
== NULL
) SWIG_fail
;
11099 arg4
= wxString_in_helper(obj3
);
11100 if (arg4
== NULL
) SWIG_fail
;
11107 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11148 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (arg1
)->GetValue();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11179 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11182 wxString
*arg2
= 0 ;
11183 bool temp2
= False
;
11184 PyObject
* obj0
= 0 ;
11185 PyObject
* obj1
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self",(char *) "value", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11193 arg2
= wxString_in_helper(obj1
);
11194 if (arg2
== NULL
) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 (arg1
)->SetValue((wxString
const &)*arg2
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 result
= (int)(arg1
)->ShowModal();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= PyInt_FromLong((long)result
);
11244 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11247 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11249 return Py_BuildValue((char *)"");
11251 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxFontData
*result
;
11254 char *kwnames
[] = {
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (wxFontData
*)new wxFontData();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11273 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxFontData
*arg1
= (wxFontData
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxFontData
*arg1
= (wxFontData
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "enable", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11309 arg2
= PyInt_AsLong(obj1
) ? true : false;
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 (arg1
)->EnableEffects(arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 Py_INCREF(Py_None
); resultobj
= Py_None
;
11325 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxFontData
*arg1
= (wxFontData
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (bool)(arg1
)->GetAllowSymbols();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= PyInt_FromLong((long)result
);
11350 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxFontData
*arg1
= (wxFontData
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (arg1
)->GetColour();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 wxColour
* resultptr
;
11370 resultptr
= new wxColour((wxColour
&) result
);
11371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11379 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxFontData
*arg1
= (wxFontData
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (arg1
)->GetChosenFont();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11398 wxFont
* resultptr
;
11399 resultptr
= new wxFont((wxFont
&) result
);
11400 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11408 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxFontData
*arg1
= (wxFontData
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (bool)(arg1
)->GetEnableEffects();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= PyInt_FromLong((long)result
);
11433 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxFontData
*arg1
= (wxFontData
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (arg1
)->GetInitialFont();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 wxFont
* resultptr
;
11453 resultptr
= new wxFont((wxFont
&) result
);
11454 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11462 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxFontData
*arg1
= (wxFontData
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->GetShowHelp();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= PyInt_FromLong((long)result
);
11487 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxFontData
*arg1
= (wxFontData
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "allowSymbols", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11499 arg2
= PyInt_AsLong(obj1
) ? true : false;
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->SetAllowSymbols(arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11515 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxFontData
*arg1
= (wxFontData
*) 0 ;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "font", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 if (arg2
== NULL
) {
11529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 Py_INCREF(Py_None
); resultobj
= Py_None
;
11545 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxFontData
*arg1
= (wxFontData
*) 0 ;
11548 wxColour
*arg2
= 0 ;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self",(char *) "colour", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11560 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 (arg1
)->SetColour((wxColour
const &)*arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 Py_INCREF(Py_None
); resultobj
= Py_None
;
11576 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxFontData
*arg1
= (wxFontData
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "font", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11589 if (arg2
== NULL
) {
11590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 Py_INCREF(Py_None
); resultobj
= Py_None
;
11606 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 wxFontData
*arg1
= (wxFontData
*) 0 ;
11611 PyObject
* obj0
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "self",(char *) "min",(char *) "max", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 (arg1
)->SetRange(arg2
,arg3
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 Py_INCREF(Py_None
); resultobj
= Py_None
;
11632 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxFontData
*arg1
= (wxFontData
*) 0 ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "self",(char *) "showHelp", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11644 arg2
= PyInt_AsLong(obj1
) ? true : false;
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->SetShowHelp(arg2
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11663 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11665 return Py_BuildValue((char *)"");
11667 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxWindow
*arg1
= (wxWindow
*) 0 ;
11670 wxFontData
*arg2
= 0 ;
11671 wxFontDialog
*result
;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "parent",(char *) "data", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11681 if (arg2
== NULL
) {
11682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11698 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11701 wxFontData
*result
;
11702 PyObject
* obj0
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11713 result
= (wxFontData
*) &_result_ref
;
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11726 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (int)(arg1
)->ShowModal();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= PyInt_FromLong((long)result
);
11751 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11754 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
11756 return Py_BuildValue((char *)"");
11758 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxWindow
*arg1
= (wxWindow
*) 0 ;
11761 wxString
*arg2
= 0 ;
11762 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
11763 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11764 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11765 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11766 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11767 wxMessageDialog
*result
;
11768 bool temp2
= False
;
11769 bool temp3
= False
;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 PyObject
* obj2
= 0 ;
11774 PyObject
* obj4
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
11780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11782 arg2
= wxString_in_helper(obj1
);
11783 if (arg2
== NULL
) SWIG_fail
;
11788 arg3
= wxString_in_helper(obj2
);
11789 if (arg3
== NULL
) SWIG_fail
;
11796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
11829 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
11833 PyObject
* obj0
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (int)(arg1
)->ShowModal();
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= PyInt_FromLong((long)result
);
11854 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11857 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
11859 return Py_BuildValue((char *)"");
11861 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxString
*arg1
= 0 ;
11864 wxString
*arg2
= 0 ;
11865 int arg3
= (int) 100 ;
11866 wxWindow
*arg4
= (wxWindow
*) NULL
;
11867 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
11868 wxProgressDialog
*result
;
11869 bool temp1
= False
;
11870 bool temp2
= False
;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj3
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
11880 arg1
= wxString_in_helper(obj0
);
11881 if (arg1
== NULL
) SWIG_fail
;
11885 arg2
= wxString_in_helper(obj1
);
11886 if (arg2
== NULL
) SWIG_fail
;
11890 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
11922 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11926 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11927 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11929 bool temp3
= False
;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj2
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 arg3
= wxString_in_helper(obj2
);
11941 if (arg3
== NULL
) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= PyInt_FromLong((long)result
);
11967 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 Py_INCREF(Py_None
); resultobj
= Py_None
;
11991 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11994 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
11996 return Py_BuildValue((char *)"");
11998 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12001 int arg2
= (int) 0 ;
12002 wxFindDialogEvent
*result
;
12003 char *kwnames
[] = {
12004 (char *) "commandType",(char *) "id", NULL
12007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12022 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (int)(arg1
)->GetFlags();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= PyInt_FromLong((long)result
);
12047 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 wxString
const &_result_ref
= (arg1
)->GetFindString();
12062 result
= (wxString
*) &_result_ref
;
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12081 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12096 result
= (wxString
*) &_result_ref
;
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12106 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12115 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
;
12117 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12118 wxFindReplaceDialog
*result
;
12119 PyObject
* obj0
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12140 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self",(char *) "flags", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->SetFlags(arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12168 wxString
*arg2
= 0 ;
12169 bool temp2
= False
;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self",(char *) "str", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12179 arg2
= wxString_in_helper(obj1
);
12180 if (arg2
== NULL
) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->SetFindString((wxString
const &)*arg2
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12205 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12208 wxString
*arg2
= 0 ;
12209 bool temp2
= False
;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self",(char *) "str", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12219 arg2
= wxString_in_helper(obj1
);
12220 if (arg2
== NULL
) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 Py_INCREF(Py_None
); resultobj
= Py_None
;
12245 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12248 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12250 return Py_BuildValue((char *)"");
12252 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 int arg1
= (int) 0 ;
12255 wxFindReplaceData
*result
;
12256 char *kwnames
[] = {
12257 (char *) "flags", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12275 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 Py_INCREF(Py_None
); resultobj
= Py_None
;
12299 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 wxString
const &_result_ref
= (arg1
)->GetFindString();
12314 result
= (wxString
*) &_result_ref
;
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12324 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12333 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12348 result
= (wxString
*) &_result_ref
;
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12358 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12367 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (int)(arg1
)->GetFlags();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= PyInt_FromLong((long)result
);
12392 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self",(char *) "flags", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->SetFlags(arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12420 wxString
*arg2
= 0 ;
12421 bool temp2
= False
;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self",(char *) "str", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12431 arg2
= wxString_in_helper(obj1
);
12432 if (arg2
== NULL
) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 (arg1
)->SetFindString((wxString
const &)*arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 Py_INCREF(Py_None
); resultobj
= Py_None
;
12457 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12460 wxString
*arg2
= 0 ;
12461 bool temp2
= False
;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self",(char *) "str", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12471 arg2
= wxString_in_helper(obj1
);
12472 if (arg2
== NULL
) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 Py_INCREF(Py_None
); resultobj
= Py_None
;
12497 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12500 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12502 return Py_BuildValue((char *)"");
12504 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxWindow
*arg1
= (wxWindow
*) 0 ;
12507 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12508 wxString
*arg3
= 0 ;
12509 int arg4
= (int) 0 ;
12510 wxFindReplaceDialog
*result
;
12511 bool temp3
= False
;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 PyObject
* obj2
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 arg3
= wxString_in_helper(obj2
);
12524 if (arg3
== NULL
) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12549 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxFindReplaceDialog
*result
;
12552 char *kwnames
[] = {
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12571 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12574 wxWindow
*arg2
= (wxWindow
*) 0 ;
12575 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12576 wxString
*arg4
= 0 ;
12577 int arg5
= (int) 0 ;
12579 bool temp4
= False
;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 PyObject
* obj3
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12591 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12593 arg4
= wxString_in_helper(obj3
);
12594 if (arg4
== NULL
) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= PyInt_FromLong((long)result
);
12619 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12622 wxFindReplaceData
*result
;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12644 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12647 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self",(char *) "data", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12656 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 (arg1
)->SetData(arg2
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 Py_INCREF(Py_None
); resultobj
= Py_None
;
12671 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12674 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12676 return Py_BuildValue((char *)"");
12678 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxWindow
*arg1
= (wxWindow
*) 0 ;
12682 wxString
*arg3
= 0 ;
12683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12687 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12688 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12689 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12690 wxMDIParentFrame
*result
;
12691 bool temp3
= False
;
12694 bool temp7
= False
;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 PyObject
* obj3
= 0 ;
12698 PyObject
* obj4
= 0 ;
12699 PyObject
* obj6
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12707 arg3
= wxString_in_helper(obj2
);
12708 if (arg3
== NULL
) SWIG_fail
;
12714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12725 arg7
= wxString_in_helper(obj6
);
12726 if (arg7
== NULL
) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12760 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxMDIParentFrame
*result
;
12763 char *kwnames
[] = {
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12782 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12785 wxWindow
*arg2
= (wxWindow
*) 0 ;
12787 wxString
*arg4
= 0 ;
12788 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12789 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12790 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12791 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12792 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12793 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12794 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12796 bool temp4
= False
;
12799 bool temp8
= False
;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 PyObject
* obj3
= 0 ;
12803 PyObject
* obj4
= 0 ;
12804 PyObject
* obj5
= 0 ;
12805 PyObject
* obj7
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12814 arg4
= wxString_in_helper(obj3
);
12815 if (arg4
== NULL
) SWIG_fail
;
12821 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12827 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12832 arg8
= wxString_in_helper(obj7
);
12833 if (arg8
== NULL
) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= PyInt_FromLong((long)result
);
12867 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->ActivateNext();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 (arg1
)->ActivatePrevious();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->ArrangeIcons();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12939 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
12948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 Py_INCREF(Py_None
); resultobj
= Py_None
;
12963 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12966 wxMDIChildFrame
*result
;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= wxPyMake_wxObject(result
);
12990 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12993 wxMDIClientWindow
*result
;
12994 PyObject
* obj0
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= wxPyMake_wxObject(result
);
13017 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (wxWindow
*)(arg1
)->GetToolBar();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= wxPyMake_wxObject(result
);
13044 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
13054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= wxPyMake_wxObject(result
);
13071 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13074 wxMenu
*arg2
= (wxMenu
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "menu", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->SetWindowMenu(arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 Py_INCREF(Py_None
); resultobj
= Py_None
;
13098 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13101 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 PyObject
* obj1
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self",(char *) "toolbar", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 (arg1
)->SetToolBar(arg2
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 Py_INCREF(Py_None
); resultobj
= Py_None
;
13125 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 Py_INCREF(Py_None
); resultobj
= Py_None
;
13149 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13152 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13154 return Py_BuildValue((char *)"");
13156 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13160 wxString
*arg3
= 0 ;
13161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13165 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13166 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13168 wxMDIChildFrame
*result
;
13169 bool temp3
= False
;
13172 bool temp7
= False
;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj2
= 0 ;
13175 PyObject
* obj3
= 0 ;
13176 PyObject
* obj4
= 0 ;
13177 PyObject
* obj6
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13185 arg3
= wxString_in_helper(obj2
);
13186 if (arg3
== NULL
) SWIG_fail
;
13192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13203 arg7
= wxString_in_helper(obj6
);
13204 if (arg7
== NULL
) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= wxPyMake_wxObject(result
);
13240 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxMDIChildFrame
*result
;
13243 char *kwnames
[] = {
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= wxPyMake_wxObject(result
);
13264 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
;
13266 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13267 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13269 wxString
*arg4
= 0 ;
13270 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13271 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13272 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13273 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13274 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13275 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13276 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13278 bool temp4
= False
;
13281 bool temp8
= False
;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 PyObject
* obj3
= 0 ;
13285 PyObject
* obj4
= 0 ;
13286 PyObject
* obj5
= 0 ;
13287 PyObject
* obj7
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13294 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13296 arg4
= wxString_in_helper(obj3
);
13297 if (arg4
== NULL
) SWIG_fail
;
13303 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13309 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13314 arg8
= wxString_in_helper(obj7
);
13315 if (arg8
== NULL
) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= PyInt_FromLong((long)result
);
13349 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->Activate();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "maximize", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13385 arg2
= PyInt_AsLong(obj1
) ? true : false;
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 (arg1
)->Maximize(arg2
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 Py_INCREF(Py_None
); resultobj
= Py_None
;
13401 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13428 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13430 return Py_BuildValue((char *)"");
13432 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13435 long arg2
= (long) 0 ;
13436 wxMDIClientWindow
*result
;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "parent",(char *) "style", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= wxPyMake_wxObject(result
);
13460 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxMDIClientWindow
*result
;
13463 char *kwnames
[] = {
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= wxPyMake_wxObject(result
);
13484 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13487 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13488 long arg3
= (long) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self",(char *) "parent",(char *) "style", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= PyInt_FromLong((long)result
);
13513 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13516 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13518 return Py_BuildValue((char *)"");
13520 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxWindow
*arg1
= (wxWindow
*) 0 ;
13524 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13525 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13526 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13527 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13528 long arg5
= (long) 0 ;
13529 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13530 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13531 wxPyWindow
*result
;
13534 bool temp6
= False
;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 PyObject
* obj3
= 0 ;
13538 PyObject
* obj5
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13548 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13554 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13559 arg6
= wxString_in_helper(obj5
);
13560 if (arg6
== NULL
) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13586 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
;
13588 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13589 PyObject
*arg2
= (PyObject
*) 0 ;
13590 PyObject
*arg3
= (PyObject
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 PyObject
* obj2
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "self",(char *) "_class", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 Py_INCREF(Py_None
); resultobj
= Py_None
;
13616 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13651 int arg6
= (int) wxSIZE_AUTO
;
13652 PyObject
* obj0
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self",(char *) "width",(char *) "height", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 Py_INCREF(Py_None
); resultobj
= Py_None
;
13699 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "x",(char *) "y", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13728 int *arg2
= (int *) 0 ;
13729 int *arg3
= (int *) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13750 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13751 resultobj
= t_output_helper(resultobj
,o
);
13754 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13755 resultobj
= t_output_helper(resultobj
,o
);
13763 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13766 int *arg2
= (int *) 0 ;
13767 int *arg3
= (int *) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 Py_INCREF(Py_None
); resultobj
= Py_None
;
13788 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13789 resultobj
= t_output_helper(resultobj
,o
);
13792 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13793 resultobj
= t_output_helper(resultobj
,o
);
13801 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13804 int *arg2
= (int *) 0 ;
13805 int *arg3
= (int *) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 Py_INCREF(Py_None
); resultobj
= Py_None
;
13826 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13827 resultobj
= t_output_helper(resultobj
,o
);
13830 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13831 resultobj
= t_output_helper(resultobj
,o
);
13839 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
13849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 wxSize
* resultptr
;
13859 resultptr
= new wxSize((wxSize
&) result
);
13860 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13868 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 char *kwnames
[] = {
13874 (char *) "self", NULL
13877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
13878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13887 wxSize
* resultptr
;
13888 resultptr
= new wxSize((wxSize
&) result
);
13889 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13897 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 (arg1
)->base_InitDialog();
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 Py_INCREF(Py_None
); resultobj
= Py_None
;
13921 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13925 PyObject
* obj0
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (bool)(arg1
)->base_TransferDataToWindow();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= PyInt_FromLong((long)result
);
13946 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (bool)(arg1
)->base_TransferDataFromWindow();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= PyInt_FromLong((long)result
);
13971 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
13981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)(arg1
)->base_Validate();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= PyInt_FromLong((long)result
);
13996 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= PyInt_FromLong((long)result
);
14021 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= PyInt_FromLong((long)result
);
14046 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14050 PyObject
* obj0
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 wxSize
* resultptr
;
14066 resultptr
= new wxSize((wxSize
&) result
);
14067 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14075 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14078 wxWindow
*arg2
= (wxWindow
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self",(char *) "child", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 (arg1
)->base_AddChild(arg2
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 Py_INCREF(Py_None
); resultobj
= Py_None
;
14102 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14105 wxWindow
*arg2
= (wxWindow
*) 0 ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "child", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->base_RemoveChild(arg2
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14132 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14134 return Py_BuildValue((char *)"");
14136 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxWindow
*arg1
= (wxWindow
*) 0 ;
14140 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14141 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14142 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14143 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14144 long arg5
= (long) 0 ;
14145 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14146 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14150 bool temp6
= False
;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj2
= 0 ;
14153 PyObject
* obj3
= 0 ;
14154 PyObject
* obj5
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14170 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14175 arg6
= wxString_in_helper(obj5
);
14176 if (arg6
== NULL
) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14202 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14205 PyObject
*arg2
= (PyObject
*) 0 ;
14206 PyObject
*arg3
= (PyObject
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 PyObject
* obj2
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self",(char *) "self",(char *) "_class", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 Py_INCREF(Py_None
); resultobj
= Py_None
;
14232 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 Py_INCREF(Py_None
); resultobj
= Py_None
;
14260 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14267 int arg6
= (int) wxSIZE_AUTO
;
14268 PyObject
* obj0
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 Py_INCREF(Py_None
); resultobj
= Py_None
;
14289 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self",(char *) "width",(char *) "height", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self",(char *) "x",(char *) "y", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 Py_INCREF(Py_None
); resultobj
= Py_None
;
14341 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14344 int *arg2
= (int *) 0 ;
14345 int *arg3
= (int *) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14367 resultobj
= t_output_helper(resultobj
,o
);
14370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14371 resultobj
= t_output_helper(resultobj
,o
);
14379 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14382 int *arg2
= (int *) 0 ;
14383 int *arg3
= (int *) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 Py_INCREF(Py_None
); resultobj
= Py_None
;
14404 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14405 resultobj
= t_output_helper(resultobj
,o
);
14408 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14409 resultobj
= t_output_helper(resultobj
,o
);
14417 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14420 int *arg2
= (int *) 0 ;
14421 int *arg3
= (int *) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14443 resultobj
= t_output_helper(resultobj
,o
);
14446 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14447 resultobj
= t_output_helper(resultobj
,o
);
14455 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 wxSize
* resultptr
;
14475 resultptr
= new wxSize((wxSize
&) result
);
14476 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14484 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
;
14486 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 char *kwnames
[] = {
14490 (char *) "self", NULL
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 wxSize
* resultptr
;
14504 resultptr
= new wxSize((wxSize
&) result
);
14505 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14513 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 (arg1
)->base_InitDialog();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 Py_INCREF(Py_None
); resultobj
= Py_None
;
14537 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (bool)(arg1
)->base_TransferDataToWindow();
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= PyInt_FromLong((long)result
);
14562 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= PyInt_FromLong((long)result
);
14587 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (bool)(arg1
)->base_Validate();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= PyInt_FromLong((long)result
);
14612 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= PyInt_FromLong((long)result
);
14637 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= PyInt_FromLong((long)result
);
14662 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 wxSize
* resultptr
;
14682 resultptr
= new wxSize((wxSize
&) result
);
14683 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14691 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14694 wxWindow
*arg2
= (wxWindow
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "child", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->base_AddChild(arg2
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 Py_INCREF(Py_None
); resultobj
= Py_None
;
14718 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14721 wxWindow
*arg2
= (wxWindow
*) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self",(char *) "child", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 (arg1
)->base_RemoveChild(arg2
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 Py_INCREF(Py_None
); resultobj
= Py_None
;
14745 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14748 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14750 return Py_BuildValue((char *)"");
14752 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxPrintData
*result
;
14755 char *kwnames
[] = {
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (wxPrintData
*)new wxPrintData();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14774 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 Py_INCREF(Py_None
); resultobj
= Py_None
;
14798 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (int)(arg1
)->GetNoCopies();
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= PyInt_FromLong((long)result
);
14823 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (bool)(arg1
)->GetCollate();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= PyInt_FromLong((long)result
);
14848 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
14858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)(arg1
)->GetOrientation();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= PyInt_FromLong((long)result
);
14873 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (bool)(arg1
)->Ok();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= PyInt_FromLong((long)result
);
14898 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14902 PyObject
* obj0
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
14913 result
= (wxString
*) &_result_ref
;
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14923 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14932 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (bool)(arg1
)->GetColour();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= PyInt_FromLong((long)result
);
14957 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (int)(arg1
)->GetDuplex();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= PyInt_FromLong((long)result
);
14982 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (int)(arg1
)->GetPaperId();
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= PyInt_FromLong((long)result
);
15007 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15022 result
= (wxSize
*) &_result_ref
;
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15035 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15038 wxPrintQuality result
;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 result
= (arg1
)->GetQuality();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15054 wxPrintQuality
* resultptr
;
15055 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
15056 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
15064 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "self",(char *) "v", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 (arg1
)->SetNoCopies(arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "flag", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15101 arg2
= PyInt_AsLong(obj1
) ? true : false;
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->SetCollate(arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 Py_INCREF(Py_None
); resultobj
= Py_None
;
15117 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self",(char *) "orient", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 (arg1
)->SetOrientation(arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15145 wxString
*arg2
= 0 ;
15146 bool temp2
= False
;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self",(char *) "name", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15156 arg2
= wxString_in_helper(obj1
);
15157 if (arg2
== NULL
) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self",(char *) "colour", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15194 arg2
= PyInt_AsLong(obj1
) ? true : false;
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 (arg1
)->SetColour(arg2
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 Py_INCREF(Py_None
); resultobj
= Py_None
;
15210 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self",(char *) "duplex", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 Py_INCREF(Py_None
); resultobj
= Py_None
;
15235 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "sizeId", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 Py_INCREF(Py_None
); resultobj
= Py_None
;
15260 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 PyObject
* obj1
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self",(char *) "sz", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15275 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 Py_INCREF(Py_None
); resultobj
= Py_None
;
15291 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15294 wxPrintQuality arg2
;
15295 wxPrintQuality
*argp2
;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self",(char *) "quality", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15304 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 (arg1
)->SetQuality(arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 Py_INCREF(Py_None
); resultobj
= Py_None
;
15320 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15335 result
= (wxString
*) &_result_ref
;
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15345 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15354 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15369 result
= (wxString
*) &_result_ref
;
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15379 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15388 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15403 result
= (wxString
*) &_result_ref
;
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15413 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15422 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 wxString
const &_result_ref
= (arg1
)->GetFilename();
15437 result
= (wxString
*) &_result_ref
;
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15445 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15447 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15456 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15471 result
= (wxString
*) &_result_ref
;
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15481 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15490 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= (double)(arg1
)->GetPrinterScaleX();
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= PyFloat_FromDouble(result
);
15515 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (double)(arg1
)->GetPrinterScaleY();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= PyFloat_FromDouble(result
);
15540 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (long)(arg1
)->GetPrinterTranslateX();
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= PyInt_FromLong((long)result
);
15565 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (long)(arg1
)->GetPrinterTranslateY();
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= PyInt_FromLong((long)result
);
15590 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (int)(arg1
)->GetPrintMode();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= PyInt_FromLong((long)result
);
15615 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15618 wxString
*arg2
= 0 ;
15619 bool temp2
= False
;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "self",(char *) "command", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15629 arg2
= wxString_in_helper(obj1
);
15630 if (arg2
== NULL
) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 Py_INCREF(Py_None
); resultobj
= Py_None
;
15655 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15658 wxString
*arg2
= 0 ;
15659 bool temp2
= False
;
15660 PyObject
* obj0
= 0 ;
15661 PyObject
* obj1
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self",(char *) "options", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15669 arg2
= wxString_in_helper(obj1
);
15670 if (arg2
== NULL
) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 Py_INCREF(Py_None
); resultobj
= Py_None
;
15695 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15698 wxString
*arg2
= 0 ;
15699 bool temp2
= False
;
15700 PyObject
* obj0
= 0 ;
15701 PyObject
* obj1
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self",(char *) "command", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15709 arg2
= wxString_in_helper(obj1
);
15710 if (arg2
== NULL
) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 Py_INCREF(Py_None
); resultobj
= Py_None
;
15735 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15738 wxString
*arg2
= 0 ;
15739 bool temp2
= False
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "filename", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15749 arg2
= wxString_in_helper(obj1
);
15750 if (arg2
== NULL
) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->SetFilename((wxString
const &)*arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15775 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15778 wxString
*arg2
= 0 ;
15779 bool temp2
= False
;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self",(char *) "path", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15789 arg2
= wxString_in_helper(obj1
);
15790 if (arg2
== NULL
) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self",(char *) "x", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 (arg1
)->SetPrinterScaleX(arg2
);
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 Py_INCREF(Py_None
); resultobj
= Py_None
;
15840 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self",(char *) "y", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->SetPrinterScaleY(arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 Py_INCREF(Py_None
); resultobj
= Py_None
;
15865 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "x",(char *) "y", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 (arg1
)->SetPrinterScaling(arg2
,arg3
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 Py_INCREF(Py_None
); resultobj
= Py_None
;
15891 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self",(char *) "x", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 (arg1
)->SetPrinterTranslateX(arg2
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 Py_INCREF(Py_None
); resultobj
= Py_None
;
15916 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self",(char *) "y", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
15926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 (arg1
)->SetPrinterTranslateY(arg2
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 Py_INCREF(Py_None
); resultobj
= Py_None
;
15941 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "x",(char *) "y", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self",(char *) "printMode", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 Py_INCREF(Py_None
); resultobj
= Py_None
;
15992 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
15994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15995 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
15997 return Py_BuildValue((char *)"");
15999 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxPageSetupDialogData
*result
;
16002 char *kwnames
[] = {
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16021 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "flag", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16057 arg2
= PyInt_AsLong(obj1
) ? true : false;
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 (arg1
)->EnableHelp(arg2
);
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16066 Py_INCREF(Py_None
); resultobj
= Py_None
;
16073 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self",(char *) "flag", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16085 arg2
= PyInt_AsLong(obj1
) ? true : false;
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 (arg1
)->EnableMargins(arg2
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 Py_INCREF(Py_None
); resultobj
= Py_None
;
16101 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 PyObject
* obj1
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self",(char *) "flag", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16113 arg2
= PyInt_AsLong(obj1
) ? true : false;
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 (arg1
)->EnableOrientation(arg2
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 Py_INCREF(Py_None
); resultobj
= Py_None
;
16129 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 PyObject
* obj1
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self",(char *) "flag", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16141 arg2
= PyInt_AsLong(obj1
) ? true : false;
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 (arg1
)->EnablePaper(arg2
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 Py_INCREF(Py_None
); resultobj
= Py_None
;
16157 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "flag", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16169 arg2
= PyInt_AsLong(obj1
) ? true : false;
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 (arg1
)->EnablePrinter(arg2
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 Py_INCREF(Py_None
); resultobj
= Py_None
;
16185 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (bool)(arg1
)->GetDefaultMinMargins();
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= PyInt_FromLong((long)result
);
16210 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)(arg1
)->GetEnableMargins();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= PyInt_FromLong((long)result
);
16235 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (bool)(arg1
)->GetEnableOrientation();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= PyInt_FromLong((long)result
);
16260 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (bool)(arg1
)->GetEnablePaper();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= PyInt_FromLong((long)result
);
16285 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (bool)(arg1
)->GetEnablePrinter();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= PyInt_FromLong((long)result
);
16310 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= (bool)(arg1
)->GetEnableHelp();
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= PyInt_FromLong((long)result
);
16335 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)(arg1
)->GetDefaultInfo();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= PyInt_FromLong((long)result
);
16360 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (arg1
)->GetMarginTopLeft();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 wxPoint
* resultptr
;
16380 resultptr
= new wxPoint((wxPoint
&) result
);
16381 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16389 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= (arg1
)->GetMarginBottomRight();
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 wxPoint
* resultptr
;
16409 resultptr
= new wxPoint((wxPoint
&) result
);
16410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16418 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (arg1
)->GetMinMarginTopLeft();
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16437 wxPoint
* resultptr
;
16438 resultptr
= new wxPoint((wxPoint
&) result
);
16439 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16447 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (arg1
)->GetMinMarginBottomRight();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 wxPoint
* resultptr
;
16467 resultptr
= new wxPoint((wxPoint
&) result
);
16468 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16476 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(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_GetPaperId",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
= (int)(arg1
)->GetPaperId();
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= PyInt_FromLong((long)result
);
16501 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(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_GetPaperSize",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
= (arg1
)->GetPaperSize();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 wxSize
* resultptr
;
16521 resultptr
= new wxSize((wxSize
&) result
);
16522 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16530 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16533 wxPrintData
*result
;
16534 PyObject
* obj0
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16545 result
= (wxPrintData
*) &_result_ref
;
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16558 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (bool)(arg1
)->Ok();
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= PyInt_FromLong((long)result
);
16583 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "flag", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16595 arg2
= PyInt_AsLong(obj1
) ? true : false;
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->SetDefaultInfo(arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self",(char *) "flag", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16623 arg2
= PyInt_AsLong(obj1
) ? true : false;
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 (arg1
)->SetDefaultMinMargins(arg2
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 Py_INCREF(Py_None
); resultobj
= Py_None
;
16639 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16642 wxPoint
*arg2
= 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 char *kwnames
[] = {
16647 (char *) "self",(char *) "pt", NULL
16650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 Py_INCREF(Py_None
); resultobj
= Py_None
;
16670 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16673 wxPoint
*arg2
= 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self",(char *) "pt", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 Py_INCREF(Py_None
); resultobj
= Py_None
;
16701 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16704 wxPoint
*arg2
= 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self",(char *) "pt", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 Py_INCREF(Py_None
); resultobj
= Py_None
;
16732 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16735 wxPoint
*arg2
= 0 ;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self",(char *) "pt", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 Py_INCREF(Py_None
); resultobj
= Py_None
;
16763 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
;
16765 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16767 PyObject
* obj0
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self",(char *) "id", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 Py_INCREF(Py_None
); resultobj
= Py_None
;
16788 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self",(char *) "size", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16803 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 Py_INCREF(Py_None
); resultobj
= Py_None
;
16819 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16822 wxPrintData
*arg2
= 0 ;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self",(char *) "printData", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16832 if (arg2
== NULL
) {
16833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 Py_INCREF(Py_None
); resultobj
= Py_None
;
16849 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
16851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16852 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
16854 return Py_BuildValue((char *)"");
16856 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxWindow
*arg1
= (wxWindow
*) 0 ;
16859 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
16860 wxPageSetupDialog
*result
;
16861 PyObject
* obj0
= 0 ;
16862 PyObject
* obj1
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "parent",(char *) "data", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
16886 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16889 wxPageSetupDialogData
*result
;
16890 PyObject
* obj0
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
16896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
16901 result
= (wxPageSetupDialogData
*) &_result_ref
;
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
16914 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (int)(arg1
)->ShowModal();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= PyInt_FromLong((long)result
);
16939 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
16941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16942 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
16944 return Py_BuildValue((char *)"");
16946 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxPrintDialogData
*result
;
16949 char *kwnames
[] = {
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (wxPrintDialogData
*)new wxPrintDialogData();
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
16968 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
16992 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= PyInt_FromLong((long)result
);
17017 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= PyInt_FromLong((long)result
);
17042 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= PyInt_FromLong((long)result
);
17067 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= PyInt_FromLong((long)result
);
17092 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= PyInt_FromLong((long)result
);
17117 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= PyInt_FromLong((long)result
);
17142 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= PyInt_FromLong((long)result
);
17167 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17171 PyObject
* obj0
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= PyInt_FromLong((long)result
);
17192 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17196 PyObject
* obj0
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= PyInt_FromLong((long)result
);
17217 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= PyInt_FromLong((long)result
);
17242 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self",(char *) "v", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 (arg1
)->SetFromPage(arg2
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 Py_INCREF(Py_None
); resultobj
= Py_None
;
17267 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self",(char *) "v", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 (arg1
)->SetToPage(arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 Py_INCREF(Py_None
); resultobj
= Py_None
;
17292 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "v", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 (arg1
)->SetMinPage(arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 Py_INCREF(Py_None
); resultobj
= Py_None
;
17317 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self",(char *) "v", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 (arg1
)->SetMaxPage(arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 Py_INCREF(Py_None
); resultobj
= Py_None
;
17342 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self",(char *) "v", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 (arg1
)->SetNoCopies(arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 Py_INCREF(Py_None
); resultobj
= Py_None
;
17367 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "flag", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 arg2
= PyInt_AsLong(obj1
) ? true : false;
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 (arg1
)->SetAllPages(arg2
);
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self",(char *) "flag", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17407 arg2
= PyInt_AsLong(obj1
) ? true : false;
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 (arg1
)->SetSelection(arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 Py_INCREF(Py_None
); resultobj
= Py_None
;
17423 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self",(char *) "flag", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17435 arg2
= PyInt_AsLong(obj1
) ? true : false;
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 (arg1
)->SetCollate(arg2
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 Py_INCREF(Py_None
); resultobj
= Py_None
;
17451 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "flag", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17463 arg2
= PyInt_AsLong(obj1
) ? true : false;
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->SetPrintToFile(arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self",(char *) "flag", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 arg2
= PyInt_AsLong(obj1
) ? true : false;
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 (arg1
)->SetSetupDialog(arg2
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 Py_INCREF(Py_None
); resultobj
= Py_None
;
17507 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "flag", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17519 arg2
= PyInt_AsLong(obj1
) ? true : false;
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 (arg1
)->EnablePrintToFile(arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 Py_INCREF(Py_None
); resultobj
= Py_None
;
17535 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "flag", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17547 arg2
= PyInt_AsLong(obj1
) ? true : false;
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->EnableSelection(arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17563 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "flag", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17575 arg2
= PyInt_AsLong(obj1
) ? true : false;
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->EnablePageNumbers(arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 Py_INCREF(Py_None
); resultobj
= Py_None
;
17591 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "flag", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17603 arg2
= PyInt_AsLong(obj1
) ? true : false;
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->EnableHelp(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= PyInt_FromLong((long)result
);
17644 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= PyInt_FromLong((long)result
);
17669 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17673 PyObject
* obj0
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= PyInt_FromLong((long)result
);
17694 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= PyInt_FromLong((long)result
);
17719 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= PyInt_FromLong((long)result
);
17744 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17747 wxPrintData
*result
;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17759 result
= (wxPrintData
*) &_result_ref
;
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17772 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17775 wxPrintData
*arg2
= 0 ;
17776 PyObject
* obj0
= 0 ;
17777 PyObject
* obj1
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self",(char *) "printData", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17785 if (arg2
== NULL
) {
17786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 Py_INCREF(Py_None
); resultobj
= Py_None
;
17802 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17805 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17807 return Py_BuildValue((char *)"");
17809 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxWindow
*arg1
= (wxWindow
*) 0 ;
17812 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17813 wxPrintDialog
*result
;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "parent",(char *) "data", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
17839 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17842 wxPrintDialogData
*result
;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17854 result
= (wxPrintDialogData
*) &_result_ref
;
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17867 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= (wxDC
*)(arg1
)->GetPrintDC();
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= wxPyMake_wxObject(result
);
17894 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 char *kwnames
[] = {
17900 (char *) "self", NULL
17903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (int)(arg1
)->ShowModal();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= PyInt_FromLong((long)result
);
17919 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17922 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
17924 return Py_BuildValue((char *)"");
17926 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "data", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
17937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 result
= (wxPrinter
*)new wxPrinter(arg1
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
17953 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17980 wxWindow
*arg2
= (wxWindow
*) 0 ;
17981 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 PyObject
* obj2
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "parent",(char *) "printout", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17992 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 (arg1
)->CreateAbortWindow(arg2
,arg3
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 Py_INCREF(Py_None
); resultobj
= Py_None
;
18007 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18010 wxPrintDialogData
*result
;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18022 result
= (wxPrintDialogData
*) &_result_ref
;
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18035 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18038 wxWindow
*arg2
= (wxWindow
*) 0 ;
18039 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18040 int arg4
= (int) True
;
18042 PyObject
* obj0
= 0 ;
18043 PyObject
* obj1
= 0 ;
18044 PyObject
* obj2
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18052 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= PyInt_FromLong((long)result
);
18067 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18070 wxWindow
*arg2
= (wxWindow
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "parent", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18089 resultobj
= wxPyMake_wxObject(result
);
18097 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18100 wxWindow
*arg2
= (wxWindow
*) 0 ;
18101 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18102 wxString
*arg4
= 0 ;
18103 bool temp4
= False
;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 PyObject
* obj3
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18115 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18117 arg4
= wxString_in_helper(obj3
);
18118 if (arg4
== NULL
) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 Py_INCREF(Py_None
); resultobj
= Py_None
;
18143 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18146 wxWindow
*arg2
= (wxWindow
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self",(char *) "parent", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (bool)(arg1
)->Setup(arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= PyInt_FromLong((long)result
);
18171 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= (bool)(arg1
)->GetAbort();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= PyInt_FromLong((long)result
);
18196 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18199 char *kwnames
[] = {
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (int)wxPrinter::GetLastError();
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= PyInt_FromLong((long)result
);
18218 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18221 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18223 return Py_BuildValue((char *)"");
18225 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18228 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18229 wxPyPrintout
*result
;
18230 bool temp1
= False
;
18231 PyObject
* obj0
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "title", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18239 arg1
= wxString_in_helper(obj0
);
18240 if (arg1
== NULL
) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= wxPyMake_wxObject(result
);
18268 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18271 PyObject
*arg2
= (PyObject
*) 0 ;
18272 PyObject
*arg3
= (PyObject
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 PyObject
* obj2
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self",(char *) "self",(char *) "_class", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 Py_INCREF(Py_None
); resultobj
= Py_None
;
18298 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18329 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (wxDC
*)(arg1
)->GetDC();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= wxPyMake_wxObject(result
);
18356 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
;
18358 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18359 wxDC
*arg2
= (wxDC
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "dc", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->SetDC(arg2
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 Py_INCREF(Py_None
); resultobj
= Py_None
;
18383 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self",(char *) "w",(char *) "h", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 Py_INCREF(Py_None
); resultobj
= Py_None
;
18409 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18412 int *arg2
= (int *) 0 ;
18413 int *arg3
= (int *) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18435 resultobj
= t_output_helper(resultobj
,o
);
18438 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18439 resultobj
= t_output_helper(resultobj
,o
);
18447 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "w",(char *) "h", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 Py_INCREF(Py_None
); resultobj
= Py_None
;
18473 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18476 int *arg2
= (int *) 0 ;
18477 int *arg3
= (int *) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 Py_INCREF(Py_None
); resultobj
= Py_None
;
18498 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18499 resultobj
= t_output_helper(resultobj
,o
);
18502 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18503 resultobj
= t_output_helper(resultobj
,o
);
18511 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "x",(char *) "y", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->SetPPIScreen(arg2
,arg3
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 Py_INCREF(Py_None
); resultobj
= Py_None
;
18537 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18540 int *arg2
= (int *) 0 ;
18541 int *arg3
= (int *) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 (arg1
)->GetPPIScreen(arg2
,arg3
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 Py_INCREF(Py_None
); resultobj
= Py_None
;
18562 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18563 resultobj
= t_output_helper(resultobj
,o
);
18566 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18567 resultobj
= t_output_helper(resultobj
,o
);
18575 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "x",(char *) "y", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18601 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18604 int *arg2
= (int *) 0 ;
18605 int *arg3
= (int *) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 Py_INCREF(Py_None
); resultobj
= Py_None
;
18626 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18627 resultobj
= t_output_helper(resultobj
,o
);
18630 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18631 resultobj
= t_output_helper(resultobj
,o
);
18639 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (bool)(arg1
)->IsPreview();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= PyInt_FromLong((long)result
);
18664 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self",(char *) "p", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18676 arg2
= PyInt_AsLong(obj1
) ? true : false;
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->SetIsPreview(arg2
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18692 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= PyInt_FromLong((long)result
);
18719 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 (arg1
)->base_OnEndDocument();
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 Py_INCREF(Py_None
); resultobj
= Py_None
;
18743 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 (arg1
)->base_OnBeginPrinting();
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 Py_INCREF(Py_None
); resultobj
= Py_None
;
18767 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->base_OnEndPrinting();
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 (arg1
)->base_OnPreparePrinting();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "page", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (bool)(arg1
)->base_HasPage(arg2
);
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= PyInt_FromLong((long)result
);
18841 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18844 int *arg2
= (int *) 0 ;
18845 int *arg3
= (int *) 0 ;
18846 int *arg4
= (int *) 0 ;
18847 int *arg5
= (int *) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18872 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18873 resultobj
= t_output_helper(resultobj
,o
);
18876 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18877 resultobj
= t_output_helper(resultobj
,o
);
18880 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
18881 resultobj
= t_output_helper(resultobj
,o
);
18884 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
18885 resultobj
= t_output_helper(resultobj
,o
);
18893 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
18895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18896 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
18898 return Py_BuildValue((char *)"");
18900 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18903 wxWindow
*arg2
= (wxWindow
*) 0 ;
18904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18908 long arg5
= (long) 0 ;
18909 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
18910 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18911 wxPreviewCanvas
*result
;
18914 bool temp6
= False
;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 PyObject
* obj2
= 0 ;
18918 PyObject
* obj3
= 0 ;
18919 PyObject
* obj5
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18941 arg6
= wxString_in_helper(obj5
);
18942 if (arg6
== NULL
) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
18968 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
18970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18971 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
18973 return Py_BuildValue((char *)"");
18975 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18978 wxFrame
*arg2
= (wxFrame
*) 0 ;
18979 wxString
*arg3
= 0 ;
18980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18984 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
18985 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
18986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18987 wxPreviewFrame
*result
;
18988 bool temp3
= False
;
18991 bool temp7
= False
;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 PyObject
* obj2
= 0 ;
18995 PyObject
* obj3
= 0 ;
18996 PyObject
* obj4
= 0 ;
18997 PyObject
* obj6
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19006 arg3
= wxString_in_helper(obj2
);
19007 if (arg3
== NULL
) SWIG_fail
;
19013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19024 arg7
= wxString_in_helper(obj6
);
19025 if (arg7
== NULL
) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19059 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 (arg1
)->Initialize();
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 Py_INCREF(Py_None
); resultobj
= Py_None
;
19083 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19086 PyObject
* obj0
= 0 ;
19087 char *kwnames
[] = {
19088 (char *) "self", NULL
19091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->CreateControlBar();
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 (arg1
)->CreateCanvas();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 Py_INCREF(Py_None
); resultobj
= Py_None
;
19131 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19134 wxPreviewControlBar
*result
;
19135 PyObject
* obj0
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19156 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19159 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19161 return Py_BuildValue((char *)"");
19163 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19167 wxWindow
*arg3
= (wxWindow
*) 0 ;
19168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19172 long arg6
= (long) wxTAB_TRAVERSAL
;
19173 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19175 wxPreviewControlBar
*result
;
19178 bool temp7
= False
;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj2
= 0 ;
19181 PyObject
* obj3
= 0 ;
19182 PyObject
* obj4
= 0 ;
19183 PyObject
* obj6
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19190 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19205 arg7
= wxString_in_helper(obj6
);
19206 if (arg7
== NULL
) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19232 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19236 PyObject
* obj0
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (int)(arg1
)->GetZoomControl();
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= PyInt_FromLong((long)result
);
19257 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "zoom", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 (arg1
)->SetZoomControl(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19282 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19285 wxPrintPreview
*result
;
19286 PyObject
* obj0
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19307 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 Py_INCREF(Py_None
); resultobj
= Py_None
;
19331 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19334 PyObject
* obj0
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "self", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->OnPrevious();
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 Py_INCREF(Py_None
); resultobj
= Py_None
;
19355 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 Py_INCREF(Py_None
); resultobj
= Py_None
;
19379 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 Py_INCREF(Py_None
); resultobj
= Py_None
;
19403 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19430 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19432 return Py_BuildValue((char *)"");
19434 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19437 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19438 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19439 wxPrintPreview
*result
;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 PyObject
* obj2
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19451 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19467 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self",(char *) "pageNum", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= PyInt_FromLong((long)result
);
19493 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (int)(arg1
)->GetCurrentPage();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= PyInt_FromLong((long)result
);
19518 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19521 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self",(char *) "printout", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 (arg1
)->SetPrintout(arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 Py_INCREF(Py_None
); resultobj
= Py_None
;
19545 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19548 wxPyPrintout
*result
;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= wxPyMake_wxObject(result
);
19572 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19574 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19575 wxPyPrintout
*result
;
19576 PyObject
* obj0
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= wxPyMake_wxObject(result
);
19599 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19602 wxFrame
*arg2
= (wxFrame
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "frame", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->SetFrame(arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 Py_INCREF(Py_None
); resultobj
= Py_None
;
19626 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19629 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19630 PyObject
* obj0
= 0 ;
19631 PyObject
* obj1
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self",(char *) "canvas", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->SetCanvas(arg2
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxFrame
*)(arg1
)->GetFrame();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= wxPyMake_wxObject(result
);
19680 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19682 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19683 wxPreviewCanvas
*result
;
19684 PyObject
* obj0
= 0 ;
19685 char *kwnames
[] = {
19686 (char *) "self", NULL
19689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19705 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19708 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 PyObject
* obj2
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19721 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19722 if (arg3
== NULL
) {
19723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= PyInt_FromLong((long)result
);
19739 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19742 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 PyObject
* obj2
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19754 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19755 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 if (arg3
== NULL
) {
19757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= PyInt_FromLong((long)result
);
19773 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self",(char *) "pageNum", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (bool)(arg1
)->RenderPage(arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= PyInt_FromLong((long)result
);
19799 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19802 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "canvas", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 (arg1
)->AdjustScrollbars(arg2
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 Py_INCREF(Py_None
); resultobj
= Py_None
;
19826 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19829 wxPrintDialogData
*result
;
19830 PyObject
* obj0
= 0 ;
19831 char *kwnames
[] = {
19832 (char *) "self", NULL
19835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19841 result
= (wxPrintDialogData
*) &_result_ref
;
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19854 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self",(char *) "percent", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 (arg1
)->SetZoom(arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 Py_INCREF(Py_None
); resultobj
= Py_None
;
19879 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (int)(arg1
)->GetZoom();
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= PyInt_FromLong((long)result
);
19904 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (int)(arg1
)->GetMaxPage();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= PyInt_FromLong((long)result
);
19929 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 result
= (int)(arg1
)->GetMinPage();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= PyInt_FromLong((long)result
);
19954 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
19964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (bool)(arg1
)->Ok();
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= PyInt_FromLong((long)result
);
19979 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self",(char *) "ok", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
19990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19991 arg2
= PyInt_AsLong(obj1
) ? true : false;
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 (arg1
)->SetOk(arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 Py_INCREF(Py_None
); resultobj
= Py_None
;
20007 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20012 PyObject
* obj0
= 0 ;
20013 PyObject
* obj1
= 0 ;
20014 char *kwnames
[] = {
20015 (char *) "self",(char *) "interactive", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20020 arg2
= PyInt_AsLong(obj1
) ? true : false;
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (bool)(arg1
)->Print(arg2
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= PyInt_FromLong((long)result
);
20036 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 (arg1
)->DetermineScaling();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 Py_INCREF(Py_None
); resultobj
= Py_None
;
20060 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20063 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20065 return Py_BuildValue((char *)"");
20067 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20070 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20071 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20072 wxPyPrintPreview
*result
;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 PyObject
* obj2
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20084 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20100 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20103 PyObject
*arg2
= (PyObject
*) 0 ;
20104 PyObject
*arg3
= (PyObject
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 PyObject
* obj2
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "self",(char *) "_class", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 Py_INCREF(Py_None
); resultobj
= Py_None
;
20130 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self",(char *) "pageNum", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= PyInt_FromLong((long)result
);
20156 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20159 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 PyObject
* obj2
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20172 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20173 if (arg3
== NULL
) {
20174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= PyInt_FromLong((long)result
);
20190 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20193 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 PyObject
* obj2
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20206 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20207 if (arg3
== NULL
) {
20208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= PyInt_FromLong((long)result
);
20224 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "pageNum", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= PyInt_FromLong((long)result
);
20250 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "percent", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 (arg1
)->base_SetZoom(arg2
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 Py_INCREF(Py_None
); resultobj
= Py_None
;
20275 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self",(char *) "interactive", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20288 arg2
= PyInt_AsLong(obj1
) ? true : false;
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (bool)(arg1
)->base_Print(arg2
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= PyInt_FromLong((long)result
);
20304 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 (arg1
)->base_DetermineScaling();
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 Py_INCREF(Py_None
); resultobj
= Py_None
;
20328 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20331 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20333 return Py_BuildValue((char *)"");
20335 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20338 wxFrame
*arg2
= (wxFrame
*) 0 ;
20339 wxString
*arg3
= 0 ;
20340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20344 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20345 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20346 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20347 wxPyPreviewFrame
*result
;
20348 bool temp3
= False
;
20351 bool temp7
= False
;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 PyObject
* obj2
= 0 ;
20355 PyObject
* obj3
= 0 ;
20356 PyObject
* obj4
= 0 ;
20357 PyObject
* obj6
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20366 arg3
= wxString_in_helper(obj2
);
20367 if (arg3
== NULL
) SWIG_fail
;
20373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20384 arg7
= wxString_in_helper(obj6
);
20385 if (arg7
== NULL
) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20419 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20422 PyObject
*arg2
= (PyObject
*) 0 ;
20423 PyObject
*arg3
= (PyObject
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20426 PyObject
* obj2
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self",(char *) "self",(char *) "_class", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 Py_INCREF(Py_None
); resultobj
= Py_None
;
20449 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20452 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self",(char *) "canvas", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 (arg1
)->SetPreviewCanvas(arg2
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 Py_INCREF(Py_None
); resultobj
= Py_None
;
20476 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20479 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 PyObject
* obj1
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self",(char *) "bar", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->SetControlBar(arg2
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 Py_INCREF(Py_None
); resultobj
= Py_None
;
20503 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 (arg1
)->base_Initialize();
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 Py_INCREF(Py_None
); resultobj
= Py_None
;
20527 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->base_CreateCanvas();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 (arg1
)->base_CreateControlBar();
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 Py_INCREF(Py_None
); resultobj
= Py_None
;
20575 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20578 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20580 return Py_BuildValue((char *)"");
20582 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20586 wxWindow
*arg3
= (wxWindow
*) 0 ;
20587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20591 long arg6
= (long) 0 ;
20592 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20594 wxPyPreviewControlBar
*result
;
20597 bool temp7
= False
;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj2
= 0 ;
20600 PyObject
* obj3
= 0 ;
20601 PyObject
* obj4
= 0 ;
20602 PyObject
* obj6
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20609 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20613 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20619 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20624 arg7
= wxString_in_helper(obj6
);
20625 if (arg7
== NULL
) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20651 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20654 PyObject
*arg2
= (PyObject
*) 0 ;
20655 PyObject
*arg3
= (PyObject
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "self",(char *) "_class", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 Py_INCREF(Py_None
); resultobj
= Py_None
;
20681 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20684 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 char *kwnames
[] = {
20688 (char *) "self",(char *) "preview", NULL
20691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 (arg1
)->SetPrintPreview(arg2
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 Py_INCREF(Py_None
); resultobj
= Py_None
;
20708 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 (arg1
)->base_CreateButtons();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 Py_INCREF(Py_None
); resultobj
= Py_None
;
20732 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20736 PyObject
* obj0
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self",(char *) "zoom", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->base_SetZoomControl(arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20760 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20762 return Py_BuildValue((char *)"");
20764 static PyMethodDef SwigMethods
[] = {
20765 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20766 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20767 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20768 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20769 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20770 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20771 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20772 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20773 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20774 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20775 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20776 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20777 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20778 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20779 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20780 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20781 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20782 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20783 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20784 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20785 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20786 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20787 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20788 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20789 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20790 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20791 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20792 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20793 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20794 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20795 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20796 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20797 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20798 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20799 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20800 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20801 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20802 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20803 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20804 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20805 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20806 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20807 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20808 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20809 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20810 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
20811 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
20812 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20813 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20814 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
20815 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20816 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20817 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20818 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20819 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20820 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20821 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20822 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20823 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20824 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20825 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20826 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20827 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
20828 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
20829 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
20830 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
20831 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
20832 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
20833 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20834 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20835 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
20836 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
20837 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
20838 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
20839 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20840 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
20841 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
20842 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
20843 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20844 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20845 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20846 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
20847 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
20848 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20849 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20850 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
20851 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
20852 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
20853 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20854 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
20855 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
20856 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20857 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20858 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
20859 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20860 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20861 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20862 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20863 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20864 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20865 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20866 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
20867 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
20868 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
20869 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
20870 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
20871 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20872 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20873 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20874 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
20875 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
20876 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20877 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20878 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
20879 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
20880 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
20881 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
20882 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
20883 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
20884 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20885 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20886 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20887 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20888 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20889 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20890 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20891 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20892 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20893 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20894 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20895 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20896 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
20897 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
20898 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20899 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20900 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
20901 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
20902 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
20903 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
20904 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20905 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20906 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20907 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20908 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20909 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
20910 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
20911 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
20912 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20913 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20914 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20915 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20916 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20917 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20918 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20919 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20920 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20921 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20922 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20923 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20924 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20925 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20926 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
20927 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
20928 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20929 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20930 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20931 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20932 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20933 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20934 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
20935 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
20936 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20937 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20938 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20939 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20940 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
20941 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
20942 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20943 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20944 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20945 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20946 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
20947 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
20948 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20949 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20950 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
20951 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
20952 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
20953 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20954 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20955 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20956 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20957 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20958 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20959 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
20960 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
20962 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20964 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
20966 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
20968 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20970 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20971 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
20972 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
20973 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20975 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20976 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
20977 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
20978 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
20979 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
20981 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
20982 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
20983 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20984 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20985 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20986 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20987 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20988 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
20989 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
20990 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
20991 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
20992 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
20993 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
20994 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
20995 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20996 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20997 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20998 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20999 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21000 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21001 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21002 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21003 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21004 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21005 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21006 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21007 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21008 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21009 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21010 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21011 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21012 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21013 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21014 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21015 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21016 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21017 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21018 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21019 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21020 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21021 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21022 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21023 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21024 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21025 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21026 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21027 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21028 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21029 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21030 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21031 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21032 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21033 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21034 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21035 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21036 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
21037 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
21038 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21039 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
21040 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
21041 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21042 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21043 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21044 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21045 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21048 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21049 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21050 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21051 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21053 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21054 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21055 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21057 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21060 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21063 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21064 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21065 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21069 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21072 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21083 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21087 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21093 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21098 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21113 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21114 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21118 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21121 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21125 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21134 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21143 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21149 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21164 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21171 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21175 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21196 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21217 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21261 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21272 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21292 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21293 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21297 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21298 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21300 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21304 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21305 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21308 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21312 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21320 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21322 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21331 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21336 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21339 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21346 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21347 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21351 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21353 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21359 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21360 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21361 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21363 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21364 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21365 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21367 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21369 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21370 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21371 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21372 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21376 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21378 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21382 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21384 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21388 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21390 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21392 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21393 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21394 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21396 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21399 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21400 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21402 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21403 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21405 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21406 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21408 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21409 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21412 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21417 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21418 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21421 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21422 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21423 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21425 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21427 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21428 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21430 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21432 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21433 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21440 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21442 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21443 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21445 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21446 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21448 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21449 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21451 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21452 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21454 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21455 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21457 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21458 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21460 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21461 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21463 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21464 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21466 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21467 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21469 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21472 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21473 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21475 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21476 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21478 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21479 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21481 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21482 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21484 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21485 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21487 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21490 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21491 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21493 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21494 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21496 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21497 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21499 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21500 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21502 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21503 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21505 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21506 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21508 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21509 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21511 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21512 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21514 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21517 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21518 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21520 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21521 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21523 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21524 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21526 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21527 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21529 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21530 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21532 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21533 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21535 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21536 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21538 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21539 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21541 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21542 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21544 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21545 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21547 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21548 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21550 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21551 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21553 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21556 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21557 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21559 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21560 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21562 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21563 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21565 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21566 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21568 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21569 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21571 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21574 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21577 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21580 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21581 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21583 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21584 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21586 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21587 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21589 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21590 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21592 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21595 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21598 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21601 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21604 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21607 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21610 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21613 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21614 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21616 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21617 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21619 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21622 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21625 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21628 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21629 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21631 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21634 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21637 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21638 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21640 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21641 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21643 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21644 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21646 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21649 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21650 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21652 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21655 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21658 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21661 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21664 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21667 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21668 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21670 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21673 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21674 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21676 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21679 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21682 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21685 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21688 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21691 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21692 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21694 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21697 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21700 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21703 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21706 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21709 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21712 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21715 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21718 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21719 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21721 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21722 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21724 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21725 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21727 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21728 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21730 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21731 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21733 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21734 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21736 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21737 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21739 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21740 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21742 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21743 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21745 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21746 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21748 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21751 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21754 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21755 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21757 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21758 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21760 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21763 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21764 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21766 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21767 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21769 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21770 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21772 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21773 return (void *)((wxObject
*) ((wxSizer
*) x
));
21775 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21776 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21778 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21779 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21781 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21784 static void *_p_wxEventTo_p_wxObject(void *x
) {
21785 return (void *)((wxObject
*) ((wxEvent
*) x
));
21787 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21788 return (void *)((wxObject
*) ((wxFontData
*) x
));
21790 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21791 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21793 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21794 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21796 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21797 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21799 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21800 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21802 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21803 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21805 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21806 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21808 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21811 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21812 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21814 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21815 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21817 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21818 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21820 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21821 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21823 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21824 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21826 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21827 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21829 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21832 static void *_p_wxControlTo_p_wxObject(void *x
) {
21833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21835 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21836 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21838 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21841 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21842 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21844 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21845 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21847 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21848 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21850 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21853 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21854 return (void *)((wxObject
*) ((wxColourData
*) x
));
21856 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21857 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21859 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21862 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21865 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21868 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21871 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21874 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21877 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21880 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21883 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21886 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21889 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21890 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21892 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21893 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21895 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21896 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21898 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21899 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21901 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21904 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21905 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21907 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21908 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21910 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21911 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21913 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21914 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21916 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21917 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21919 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21920 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21922 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21925 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21928 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21931 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21934 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21937 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21940 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21941 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21943 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21944 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21946 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21947 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21949 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21952 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21953 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21955 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21958 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21959 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21961 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21962 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21964 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21967 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21970 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21971 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21973 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21976 static void *_p_wxImageTo_p_wxObject(void *x
) {
21977 return (void *)((wxObject
*) ((wxImage
*) x
));
21979 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21982 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21983 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21985 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21986 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21988 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21989 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21991 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21994 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21997 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21998 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22000 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22001 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22003 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22004 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22006 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22007 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22009 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22010 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22012 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22015 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22018 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22021 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22024 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22027 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22030 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22033 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22036 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22039 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22042 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22045 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22048 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22051 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22052 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22054 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22055 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22057 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22060 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22063 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22066 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22069 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22072 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22075 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22078 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22079 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22081 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22082 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22084 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22085 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22087 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22088 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22090 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22091 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22093 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22094 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22096 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22097 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22099 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22100 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22102 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22103 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22105 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22108 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22111 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22112 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22114 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22115 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22117 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22120 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22123 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22124 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22126 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22127 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22129 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22132 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22133 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22135 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22136 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22138 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22139 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22141 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
22142 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22144 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22145 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22147 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22148 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22150 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22151 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22153 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22154 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22156 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22157 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22159 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22160 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22162 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22163 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22165 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22166 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22168 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22169 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22171 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22172 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22174 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22175 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22177 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22178 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22180 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22181 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22183 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22184 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22186 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22187 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22189 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22190 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22192 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22193 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22195 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22196 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22198 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22199 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22201 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22202 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22204 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22205 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22207 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22208 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22210 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22211 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22213 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22214 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22216 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22217 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22219 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22220 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22222 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22223 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22225 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22226 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22228 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22229 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22231 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22232 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22234 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22235 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22237 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22240 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22241 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22243 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22244 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22246 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22247 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22249 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22250 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22252 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22253 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22255 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22256 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22258 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22259 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22261 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22262 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22264 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22265 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22267 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22268 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22270 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22271 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22273 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22274 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22276 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22277 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22279 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22280 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22282 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22283 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22285 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22286 return (void *)((wxWindow
*) ((wxControl
*) x
));
22288 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22289 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22291 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22292 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22294 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22295 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22297 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22298 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22300 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22301 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22303 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22304 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22306 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22307 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22309 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22310 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22312 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22313 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22315 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22316 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22318 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22319 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22321 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22322 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22324 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22325 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22327 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22328 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22330 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22331 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22333 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22334 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22336 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22337 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22339 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22340 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22342 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22343 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22345 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22346 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22348 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22349 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22351 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22352 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22354 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22355 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22357 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22358 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22360 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22361 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22363 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22364 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22366 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22367 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22369 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22370 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22372 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22373 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22375 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22376 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22378 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22379 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22381 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22382 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22384 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22385 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22387 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22388 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22390 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22391 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22393 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22394 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22396 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22397 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22399 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22400 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22402 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22403 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22405 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22406 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22408 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22409 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22411 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22412 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22414 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22415 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22417 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22418 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22420 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22421 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22423 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22424 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22426 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22427 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22429 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22430 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22432 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22433 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22435 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22436 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22438 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22439 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22441 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22442 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22443 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22444 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22445 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22446 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22447 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22448 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}};
22449 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22450 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22451 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22452 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22453 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22454 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22455 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22456 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22457 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22458 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22459 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22460 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22461 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22462 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22463 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22464 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22465 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22466 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22467 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22468 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22469 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22470 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22471 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22472 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22473 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22474 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22475 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22476 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}};
22477 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22478 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22479 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22480 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22481 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22482 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}};
22483 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22484 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22485 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22486 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22487 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22488 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22489 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}};
22490 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22491 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22492 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22493 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22494 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22495 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}};
22496 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22497 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}};
22498 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22499 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}};
22500 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}};
22501 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22502 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22503 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22504 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22505 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22506 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22507 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22508 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22509 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22510 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22511 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22512 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}};
22513 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}};
22514 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22515 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22516 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}};
22517 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22518 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22519 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22520 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22521 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22522 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22523 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22525 static swig_type_info
*swig_types_initial
[] = {
22526 _swigt__p_wxQueryLayoutInfoEvent
,
22527 _swigt__p_wxPreviewFrame
,
22528 _swigt__p_wxPyPreviewFrame
,
22529 _swigt__p_wxPyPanel
,
22531 _swigt__p_wxPrintData
,
22532 _swigt__p_wxFontData
,
22534 _swigt__p_wxTaskBarIcon
,
22535 _swigt__p_wxIconBundle
,
22536 _swigt__p_wxLayoutAlgorithm
,
22537 _swigt__p_wxFindDialogEvent
,
22538 _swigt__p_wxPreviewCanvas
,
22540 _swigt__p_wxSplitterEvent
,
22541 _swigt__p_wxRegion
,
22542 _swigt__p_wxFindReplaceData
,
22547 _swigt__p_wxMDIChildFrame
,
22548 _swigt__p_wxColourData
,
22549 _swigt__p_wxNotifyEvent
,
22550 _swigt__p_wxPyWindow
,
22551 _swigt__p_wxSplashScreen
,
22552 _swigt__p_wxFindReplaceDialog
,
22553 _swigt__p_wxProgressDialog
,
22554 _swigt__p_wxMessageDialog
,
22555 _swigt__p_wxTextEntryDialog
,
22556 _swigt__p_wxSingleChoiceDialog
,
22557 _swigt__p_wxMultiChoiceDialog
,
22558 _swigt__p_wxFileDialog
,
22559 _swigt__p_wxPrinter
,
22560 _swigt__p_wxArrayInt
,
22561 _swigt__p_wxEvtHandler
,
22562 _swigt__p_wxCalculateLayoutEvent
,
22563 _swigt__p_wxPyHtmlListBox
,
22564 _swigt__p_wxPyVListBox
,
22566 _swigt__p_wxMiniFrame
,
22568 _swigt__p_wxPyPrintout
,
22569 _swigt__p_wxTaskBarIconEvent
,
22570 _swigt__p_wxScrollWinEvent
,
22571 _swigt__p_wxStatusBar
,
22572 _swigt__p_wxMDIParentFrame
,
22574 _swigt__p_wxObject
,
22575 _swigt__p_unsigned_long
,
22576 _swigt__p_wxMDIClientWindow
,
22577 _swigt__p_wxTipWindow
,
22578 _swigt__p_wxSashLayoutWindow
,
22579 _swigt__p_wxSplitterWindow
,
22580 _swigt__p_wxPyVScrolledWindow
,
22581 _swigt__p_wxPyPopupTransientWindow
,
22582 _swigt__p_wxPopupWindow
,
22583 _swigt__p_wxSashWindow
,
22584 _swigt__p_wxTopLevelWindow
,
22585 _swigt__p_wxWindow
,
22586 _swigt__p_wxScrolledWindow
,
22587 _swigt__p_wxSplashScreenWindow
,
22588 _swigt__p_wxMenuBar
,
22589 _swigt__p_wxPrintPreview
,
22590 _swigt__p_wxSashEvent
,
22591 _swigt__p_wxString
,
22592 _swigt__p_wxPyPrintPreview
,
22593 _swigt__p_wxPageSetupDialog
,
22594 _swigt__p_wxFontDialog
,
22595 _swigt__p_wxDirDialog
,
22596 _swigt__p_wxColourDialog
,
22597 _swigt__p_wxDialog
,
22599 _swigt__p_wxPrintDialog
,
22600 _swigt__p_wxBitmap
,
22601 _swigt__p_wxCommandEvent
,
22602 _swigt__p_wxPrintQuality
,
22603 _swigt__p_wxPreviewControlBar
,
22604 _swigt__p_wxPyPreviewControlBar
,
22605 _swigt__p_wxColour
,
22606 _swigt__p_wxToolBar
,
22607 _swigt__p_wxPageSetupDialogData
,
22608 _swigt__p_wxPrintDialogData
,
22613 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22615 static swig_const_info swig_const_table
[] = {
22616 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22617 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22618 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22619 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22620 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22621 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22622 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22623 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22624 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22625 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22626 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22627 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22628 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22629 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22630 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22631 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22632 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22633 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22634 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22635 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22636 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22637 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22638 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22639 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22640 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22641 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22642 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22643 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22644 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22645 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22646 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22647 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22648 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22649 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22650 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22651 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22652 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22653 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22654 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22655 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22656 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22657 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22658 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22659 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22660 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22661 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22662 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22663 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22664 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22665 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22666 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22667 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22668 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22669 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22670 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22671 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22672 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22673 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22674 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22675 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22676 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22677 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22678 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22679 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22680 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22681 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22682 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22683 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22684 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22685 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22686 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22687 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22688 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22689 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22690 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22691 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22692 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22693 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22694 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22695 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22696 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22697 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22698 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22699 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22700 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22701 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22702 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22703 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22704 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22705 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22706 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22707 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22708 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22709 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22710 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22711 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22712 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22713 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22714 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22715 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22716 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22717 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22718 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22719 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22720 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22721 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22722 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22723 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22724 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22734 SWIGEXPORT(void) SWIG_init(void) {
22735 static PyObject
*SWIG_globals
= 0;
22736 static int typeinit
= 0;
22739 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22740 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22741 d
= PyModule_GetDict(m
);
22744 for (i
= 0; swig_types_initial
[i
]; i
++) {
22745 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22749 SWIG_InstallConstants(d
,swig_const_table
);
22751 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22752 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22753 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22754 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22755 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22756 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22757 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22759 // Map renamed classes back to their common name for OOR
22760 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22761 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22762 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22764 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22765 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22766 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22767 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22768 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22769 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22770 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22771 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22772 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22773 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22774 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22775 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22777 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");