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
){
351 return self
->m_modalShowing
;
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
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2034 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2036 return Py_BuildValue((char *)"");
2038 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2041 bool arg2
= (bool) True
;
2042 PyObject
* obj0
= 0 ;
2043 PyObject
* obj1
= 0 ;
2045 (char *) "self",(char *) "maximize", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2051 arg2
= PyInt_AsLong(obj1
) ? true : false;
2052 if (PyErr_Occurred()) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 (arg1
)->Maximize(arg2
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2068 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2073 (char *) "self", NULL
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 Py_INCREF(Py_None
); resultobj
= Py_None
;
2092 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2095 bool arg2
= (bool) True
;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "self",(char *) "iconize", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2105 arg2
= PyInt_AsLong(obj1
) ? true : false;
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 (arg1
)->Iconize(arg2
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2122 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2126 PyObject
* obj0
= 0 ;
2128 (char *) "self", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= PyInt_FromLong((long)result
);
2147 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2151 PyObject
* obj0
= 0 ;
2153 (char *) "self", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 resultobj
= PyInt_FromLong((long)result
);
2172 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
*resultobj
;
2174 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2178 (char *) "self", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2192 resultptr
= new wxIcon((wxIcon
&) result
);
2193 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2201 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2206 PyObject
* obj1
= 0 ;
2208 (char *) "self",(char *) "icon", NULL
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2234 wxIconBundle
*arg2
= 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2238 (char *) "self",(char *) "icons", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 Py_INCREF(Py_None
); resultobj
= Py_None
;
2261 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2265 long arg3
= (long) wxFULLSCREEN_ALL
;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 (char *) "self",(char *) "show",(char *) "style", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2275 arg2
= PyInt_AsLong(obj1
) ? true : false;
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 resultobj
= PyInt_FromLong((long)result
);
2291 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2297 (char *) "self", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 resultobj
= PyInt_FromLong((long)result
);
2316 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2319 wxString
*arg2
= 0 ;
2320 bool temp2
= False
;
2321 PyObject
* obj0
= 0 ;
2322 PyObject
* obj1
= 0 ;
2324 (char *) "self",(char *) "title", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2330 arg2
= wxString_in_helper(obj1
);
2331 if (arg2
== NULL
) SWIG_fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 (arg1
)->SetTitle((wxString
const &)*arg2
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 Py_INCREF(Py_None
); resultobj
= Py_None
;
2356 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2358 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2360 PyObject
* obj0
= 0 ;
2362 (char *) "self", NULL
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2387 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2389 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2390 wxRegion
*arg2
= 0 ;
2392 PyObject
* obj0
= 0 ;
2393 PyObject
* obj1
= 0 ;
2395 (char *) "self",(char *) "region", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= PyInt_FromLong((long)result
);
2418 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2421 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2423 return Py_BuildValue((char *)"");
2425 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxWindow
*arg1
= (wxWindow
*) 0 ;
2429 wxString
*arg3
= 0 ;
2430 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2431 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2432 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2433 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2434 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2435 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2436 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2438 bool temp3
= False
;
2441 bool temp7
= False
;
2442 PyObject
* obj0
= 0 ;
2443 PyObject
* obj2
= 0 ;
2444 PyObject
* obj3
= 0 ;
2445 PyObject
* obj4
= 0 ;
2446 PyObject
* obj6
= 0 ;
2448 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2454 arg3
= wxString_in_helper(obj2
);
2455 if (arg3
== NULL
) SWIG_fail
;
2461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2472 arg7
= wxString_in_helper(obj6
);
2473 if (arg7
== NULL
) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2485 resultobj
= wxPyMake_wxObject(result
);
2509 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 result
= (wxFrame
*)new wxFrame();
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2525 resultobj
= wxPyMake_wxObject(result
);
2533 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2535 wxFrame
*arg1
= (wxFrame
*) 0 ;
2536 wxWindow
*arg2
= (wxWindow
*) 0 ;
2538 wxString
*arg4
= 0 ;
2539 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2540 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2541 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2542 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2543 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2544 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2545 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2547 bool temp4
= False
;
2550 bool temp8
= False
;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2553 PyObject
* obj3
= 0 ;
2554 PyObject
* obj4
= 0 ;
2555 PyObject
* obj5
= 0 ;
2556 PyObject
* obj7
= 0 ;
2558 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2565 arg4
= wxString_in_helper(obj3
);
2566 if (arg4
== NULL
) SWIG_fail
;
2572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2583 arg8
= wxString_in_helper(obj7
);
2584 if (arg8
== NULL
) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 resultobj
= PyInt_FromLong((long)result
);
2618 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxFrame
*arg1
= (wxFrame
*) 0 ;
2622 PyObject
* obj0
= 0 ;
2624 (char *) "self", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2637 wxPoint
* resultptr
;
2638 resultptr
= new wxPoint((wxPoint
&) result
);
2639 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2647 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxFrame
*arg1
= (wxFrame
*) 0 ;
2650 PyObject
* obj0
= 0 ;
2652 (char *) "self", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 (arg1
)->SendSizeEvent();
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2664 Py_INCREF(Py_None
); resultobj
= Py_None
;
2671 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxFrame
*arg1
= (wxFrame
*) 0 ;
2674 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
2675 PyObject
* obj0
= 0 ;
2676 PyObject
* obj1
= 0 ;
2678 (char *) "self",(char *) "menubar", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 (arg1
)->SetMenuBar(arg2
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxFrame
*arg1
= (wxFrame
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= wxPyMake_wxObject(result
);
2725 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxFrame
*arg1
= (wxFrame
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self",(char *) "winid", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 result
= (bool)(arg1
)->ProcessCommand(arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 resultobj
= PyInt_FromLong((long)result
);
2751 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxFrame
*arg1
= (wxFrame
*) 0 ;
2754 int arg2
= (int) 1 ;
2755 long arg3
= (long) wxST_SIZEGRIP
;
2756 int arg4
= (int) 0 ;
2757 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
2758 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2759 wxStatusBar
*result
;
2760 bool temp5
= False
;
2761 PyObject
* obj0
= 0 ;
2762 PyObject
* obj4
= 0 ;
2764 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2771 arg5
= wxString_in_helper(obj4
);
2772 if (arg5
== NULL
) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2784 resultobj
= wxPyMake_wxObject(result
);
2800 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxFrame
*arg1
= (wxFrame
*) 0 ;
2803 wxStatusBar
*result
;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2819 resultobj
= wxPyMake_wxObject(result
);
2827 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2829 wxFrame
*arg1
= (wxFrame
*) 0 ;
2830 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
2831 PyObject
* obj0
= 0 ;
2832 PyObject
* obj1
= 0 ;
2834 (char *) "self",(char *) "statBar", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 (arg1
)->SetStatusBar(arg2
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 Py_INCREF(Py_None
); resultobj
= Py_None
;
2854 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
;
2856 wxFrame
*arg1
= (wxFrame
*) 0 ;
2857 wxString
*arg2
= 0 ;
2858 int arg3
= (int) 0 ;
2859 bool temp2
= False
;
2860 PyObject
* obj0
= 0 ;
2861 PyObject
* obj1
= 0 ;
2863 (char *) "self",(char *) "text",(char *) "number", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2869 arg2
= wxString_in_helper(obj1
);
2870 if (arg2
== NULL
) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 Py_INCREF(Py_None
); resultobj
= Py_None
;
2895 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxFrame
*arg1
= (wxFrame
*) 0 ;
2899 int *arg3
= (int *) 0 ;
2900 PyObject
* obj0
= 0 ;
2901 PyObject
* obj1
= 0 ;
2903 (char *) "self",(char *) "widths", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2909 arg2
= PyList_Size(obj1
);
2910 arg3
= int_LIST_helper(obj1
);
2911 if (arg3
== NULL
) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 Py_INCREF(Py_None
); resultobj
= Py_None
;
2922 if (arg3
) delete [] arg3
;
2927 if (arg3
) delete [] arg3
;
2933 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxFrame
*arg1
= (wxFrame
*) 0 ;
2936 wxString
*arg2
= 0 ;
2937 int arg3
= (int) 0 ;
2938 bool temp2
= False
;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2942 (char *) "self",(char *) "text",(char *) "number", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2948 arg2
= wxString_in_helper(obj1
);
2949 if (arg2
== NULL
) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2974 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxFrame
*arg1
= (wxFrame
*) 0 ;
2977 int arg2
= (int) 0 ;
2978 PyObject
* obj0
= 0 ;
2980 (char *) "self",(char *) "number", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 (arg1
)->PopStatusText(arg2
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 Py_INCREF(Py_None
); resultobj
= Py_None
;
2999 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxFrame
*arg1
= (wxFrame
*) 0 ;
3003 PyObject
* obj0
= 0 ;
3005 (char *) "self",(char *) "n", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 (arg1
)->SetStatusBarPane(arg2
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 Py_INCREF(Py_None
); resultobj
= Py_None
;
3024 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3026 wxFrame
*arg1
= (wxFrame
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3030 (char *) "self", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3042 resultobj
= PyInt_FromLong((long)result
);
3049 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxFrame
*arg1
= (wxFrame
*) 0 ;
3052 long arg2
= (long) -1 ;
3053 int arg3
= (int) -1 ;
3054 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3055 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3057 bool temp4
= False
;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj3
= 0 ;
3061 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3068 arg4
= wxString_in_helper(obj3
);
3069 if (arg4
== NULL
) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3081 resultobj
= wxPyMake_wxObject(result
);
3097 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxFrame
*arg1
= (wxFrame
*) 0 ;
3101 PyObject
* obj0
= 0 ;
3103 (char *) "self", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3116 resultobj
= wxPyMake_wxObject(result
);
3124 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxFrame
*arg1
= (wxFrame
*) 0 ;
3127 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3131 (char *) "self",(char *) "toolbar", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 (arg1
)->SetToolBar(arg2
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxFrame
*arg1
= (wxFrame
*) 0 ;
3154 wxString
*arg2
= 0 ;
3156 bool temp2
= False
;
3157 PyObject
* obj0
= 0 ;
3158 PyObject
* obj1
= 0 ;
3159 PyObject
* obj2
= 0 ;
3161 (char *) "self",(char *) "text",(char *) "show", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3167 arg2
= wxString_in_helper(obj1
);
3168 if (arg2
== NULL
) SWIG_fail
;
3171 arg3
= PyInt_AsLong(obj2
) ? true : false;
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 Py_INCREF(Py_None
); resultobj
= Py_None
;
3195 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxFrame
*arg1
= (wxFrame
*) 0 ;
3198 wxMenu
*arg2
= (wxMenu
*) NULL
;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj1
= 0 ;
3202 (char *) "self",(char *) "menu", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 (arg1
)->DoMenuUpdates(arg2
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3224 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3227 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3229 return Py_BuildValue((char *)"");
3231 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxWindow
*arg1
= (wxWindow
*) 0 ;
3235 wxString
*arg3
= 0 ;
3236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3240 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3241 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3244 bool temp3
= False
;
3247 bool temp7
= False
;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj2
= 0 ;
3250 PyObject
* obj3
= 0 ;
3251 PyObject
* obj4
= 0 ;
3252 PyObject
* obj6
= 0 ;
3254 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 arg3
= wxString_in_helper(obj2
);
3261 if (arg3
== NULL
) SWIG_fail
;
3267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3278 arg7
= wxString_in_helper(obj6
);
3279 if (arg7
== NULL
) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3313 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= (wxDialog
*)new wxDialog();
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3335 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxDialog
*arg1
= (wxDialog
*) 0 ;
3338 wxWindow
*arg2
= (wxWindow
*) 0 ;
3340 wxString
*arg4
= 0 ;
3341 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3342 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3343 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3344 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3345 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3346 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3347 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3349 bool temp4
= False
;
3352 bool temp8
= False
;
3353 PyObject
* obj0
= 0 ;
3354 PyObject
* obj1
= 0 ;
3355 PyObject
* obj3
= 0 ;
3356 PyObject
* obj4
= 0 ;
3357 PyObject
* obj5
= 0 ;
3358 PyObject
* obj7
= 0 ;
3360 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3367 arg4
= wxString_in_helper(obj3
);
3368 if (arg4
== NULL
) SWIG_fail
;
3374 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3380 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3385 arg8
= wxString_in_helper(obj7
);
3386 if (arg8
== NULL
) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= PyInt_FromLong((long)result
);
3420 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxDialog
*arg1
= (wxDialog
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self",(char *) "returnCode", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 (arg1
)->SetReturnCode(arg2
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxDialog
*arg1
= (wxDialog
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3451 (char *) "self", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= PyInt_FromLong((long)result
);
3470 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxDialog
*arg1
= (wxDialog
*) 0 ;
3473 wxString
*arg2
= 0 ;
3475 bool temp2
= False
;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "self",(char *) "message", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3485 arg2
= wxString_in_helper(obj1
);
3486 if (arg2
== NULL
) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= wxPyMake_wxSizer(result
);
3513 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxDialog
*arg1
= (wxDialog
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self",(char *) "flags", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= wxPyMake_wxSizer(result
);
3541 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxDialog
*arg1
= (wxDialog
*) 0 ;
3545 PyObject
* obj0
= 0 ;
3546 PyObject
* obj1
= 0 ;
3548 (char *) "self",(char *) "flag", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3553 arg2
= PyInt_AsLong(obj1
) ? true : false;
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 (arg1
)->SetModal(arg2
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 Py_INCREF(Py_None
); resultobj
= Py_None
;
3569 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxDialog
*arg1
= (wxDialog
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3575 (char *) "self", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 resultobj
= PyInt_FromLong((long)result
);
3594 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxDialog
*arg1
= (wxDialog
*) 0 ;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "self", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 result
= (int)(arg1
)->ShowModal();
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 resultobj
= PyInt_FromLong((long)result
);
3619 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxDialog
*arg1
= (wxDialog
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3625 (char *) "self",(char *) "retCode", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->EndModal(arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxDialog
*arg1
= (wxDialog
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (bool)wxDialog_IsModalShowing(arg1
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= PyInt_FromLong((long)result
);
3669 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3672 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3674 return Py_BuildValue((char *)"");
3676 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxWindow
*arg1
= (wxWindow
*) 0 ;
3680 wxString
*arg3
= 0 ;
3681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3685 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3686 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3687 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3688 wxMiniFrame
*result
;
3689 bool temp3
= False
;
3692 bool temp7
= False
;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj2
= 0 ;
3695 PyObject
* obj3
= 0 ;
3696 PyObject
* obj4
= 0 ;
3697 PyObject
* obj6
= 0 ;
3699 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3705 arg3
= wxString_in_helper(obj2
);
3706 if (arg3
== NULL
) SWIG_fail
;
3712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3723 arg7
= wxString_in_helper(obj6
);
3724 if (arg7
== NULL
) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3758 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3760 wxMiniFrame
*result
;
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (wxMiniFrame
*)new wxMiniFrame();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3780 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
3783 wxWindow
*arg2
= (wxWindow
*) 0 ;
3785 wxString
*arg4
= 0 ;
3786 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3787 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3788 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3789 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3790 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3791 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3792 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3794 bool temp4
= False
;
3797 bool temp8
= False
;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj7
= 0 ;
3805 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3812 arg4
= wxString_in_helper(obj3
);
3813 if (arg4
== NULL
) SWIG_fail
;
3819 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3825 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3830 arg8
= wxString_in_helper(obj7
);
3831 if (arg8
== NULL
) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= PyInt_FromLong((long)result
);
3865 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
3867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3868 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
3870 return Py_BuildValue((char *)"");
3872 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxBitmap
*arg1
= 0 ;
3875 wxWindow
*arg2
= (wxWindow
*) 0 ;
3877 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3878 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3879 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3880 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3881 long arg6
= (long) wxNO_BORDER
;
3882 wxSplashScreenWindow
*result
;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3887 PyObject
* obj3
= 0 ;
3888 PyObject
* obj4
= 0 ;
3890 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
3894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
3925 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
3928 wxBitmap
*arg2
= 0 ;
3929 PyObject
* obj0
= 0 ;
3930 PyObject
* obj1
= 0 ;
3932 (char *) "self",(char *) "bitmap", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 Py_INCREF(Py_None
); resultobj
= Py_None
;
3955 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3961 (char *) "self", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
3965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
3970 result
= (wxBitmap
*) &_result_ref
;
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
3983 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3986 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
3988 return Py_BuildValue((char *)"");
3990 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxBitmap
*arg1
= 0 ;
3995 wxWindow
*arg4
= (wxWindow
*) 0 ;
3997 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
3998 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
3999 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4000 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4001 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4002 wxSplashScreen
*result
;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj3
= 0 ;
4007 PyObject
* obj5
= 0 ;
4008 PyObject
* obj6
= 0 ;
4010 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4018 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4022 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4028 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4045 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= PyInt_FromLong((long)result
);
4070 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
;
4072 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4073 wxSplashScreenWindow
*result
;
4074 PyObject
* obj0
= 0 ;
4076 (char *) "self", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4095 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4099 PyObject
* obj0
= 0 ;
4101 (char *) "self", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= PyInt_FromLong((long)result
);
4120 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4123 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4125 return Py_BuildValue((char *)"");
4127 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxWindow
*arg1
= (wxWindow
*) 0 ;
4130 int arg2
= (int) -1 ;
4131 long arg3
= (long) wxST_SIZEGRIP
;
4132 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4133 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4134 wxStatusBar
*result
;
4135 bool temp4
= False
;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj3
= 0 ;
4139 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4146 arg4
= wxString_in_helper(obj3
);
4147 if (arg4
== NULL
) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= wxPyMake_wxObject(result
);
4175 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxStatusBar
*result
;
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (wxStatusBar
*)new wxStatusBar();
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= wxPyMake_wxObject(result
);
4199 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4202 wxWindow
*arg2
= (wxWindow
*) 0 ;
4204 long arg4
= (long) wxST_SIZEGRIP
;
4205 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4206 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4208 bool temp5
= False
;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4211 PyObject
* obj4
= 0 ;
4213 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4218 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4221 arg5
= wxString_in_helper(obj4
);
4222 if (arg5
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= PyInt_FromLong((long)result
);
4248 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
;
4250 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4251 int arg2
= (int) 1 ;
4252 PyObject
* obj0
= 0 ;
4254 (char *) "self",(char *) "number", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 (arg1
)->SetFieldsCount(arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 Py_INCREF(Py_None
); resultobj
= Py_None
;
4273 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4279 (char *) "self", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= PyInt_FromLong((long)result
);
4298 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4301 wxString
*arg2
= 0 ;
4302 int arg3
= (int) 0 ;
4303 bool temp2
= False
;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4307 (char *) "self",(char *) "text",(char *) "number", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4313 arg2
= wxString_in_helper(obj1
);
4314 if (arg2
== NULL
) SWIG_fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 Py_INCREF(Py_None
); resultobj
= Py_None
;
4339 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4342 int arg2
= (int) 0 ;
4344 PyObject
* obj0
= 0 ;
4346 (char *) "self",(char *) "number", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4371 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4374 wxString
*arg2
= 0 ;
4375 int arg3
= (int) 0 ;
4376 bool temp2
= False
;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4380 (char *) "self",(char *) "text",(char *) "number", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4386 arg2
= wxString_in_helper(obj1
);
4387 if (arg2
== NULL
) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4415 int arg2
= (int) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self",(char *) "number", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 (arg1
)->PopStatusText(arg2
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 Py_INCREF(Py_None
); resultobj
= Py_None
;
4437 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4441 int *arg3
= (int *) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4445 (char *) "self",(char *) "widths", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4451 arg2
= PyList_Size(obj1
);
4452 arg3
= int_LIST_helper(obj1
);
4453 if (arg3
== NULL
) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 if (arg3
) delete [] arg3
;
4469 if (arg3
) delete [] arg3
;
4475 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self",(char *) "i", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4496 resultptr
= new wxRect((wxRect
&) result
);
4497 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4505 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4511 (char *) "self",(char *) "height", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 (arg1
)->SetMinHeight(arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= PyInt_FromLong((long)result
);
4555 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= PyInt_FromLong((long)result
);
4580 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4583 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4585 return Py_BuildValue((char *)"");
4587 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4589 wxWindow
*arg1
= (wxWindow
*) 0 ;
4591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4595 long arg5
= (long) wxSP_3D
;
4596 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4597 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4598 wxSplitterWindow
*result
;
4601 bool temp6
= False
;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj2
= 0 ;
4604 PyObject
* obj3
= 0 ;
4605 PyObject
* obj5
= 0 ;
4607 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4615 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4621 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4626 arg6
= wxString_in_helper(obj5
);
4627 if (arg6
== NULL
) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4653 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxSplitterWindow
*result
;
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4675 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4678 wxWindow
*arg2
= (wxWindow
*) 0 ;
4680 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4681 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4682 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4683 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4684 long arg6
= (long) wxSP_3D
;
4685 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
4686 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4690 bool temp7
= False
;
4691 PyObject
* obj0
= 0 ;
4692 PyObject
* obj1
= 0 ;
4693 PyObject
* obj3
= 0 ;
4694 PyObject
* obj4
= 0 ;
4695 PyObject
* obj6
= 0 ;
4697 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4702 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4706 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4712 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4717 arg7
= wxString_in_helper(obj6
);
4718 if (arg7
== NULL
) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= PyInt_FromLong((long)result
);
4744 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= wxPyMake_wxObject(result
);
4771 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= wxPyMake_wxObject(result
);
4798 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4802 PyObject
* obj0
= 0 ;
4804 (char *) "self",(char *) "mode", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 (arg1
)->SetSplitMode(arg2
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4823 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4829 (char *) "self", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
4833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= PyInt_FromLong((long)result
);
4848 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4851 wxWindow
*arg2
= (wxWindow
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "self",(char *) "window", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 (arg1
)->Initialize(arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 Py_INCREF(Py_None
); resultobj
= Py_None
;
4875 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4878 wxWindow
*arg2
= (wxWindow
*) 0 ;
4879 wxWindow
*arg3
= (wxWindow
*) 0 ;
4880 int arg4
= (int) 0 ;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4884 PyObject
* obj2
= 0 ;
4886 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= PyInt_FromLong((long)result
);
4907 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4910 wxWindow
*arg2
= (wxWindow
*) 0 ;
4911 wxWindow
*arg3
= (wxWindow
*) 0 ;
4912 int arg4
= (int) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4916 PyObject
* obj2
= 0 ;
4918 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4924 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= PyInt_FromLong((long)result
);
4939 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4942 wxWindow
*arg2
= (wxWindow
*) NULL
;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "toRemove", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (bool)(arg1
)->Unsplit(arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= PyInt_FromLong((long)result
);
4969 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4972 wxWindow
*arg2
= (wxWindow
*) 0 ;
4973 wxWindow
*arg3
= (wxWindow
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4977 PyObject
* obj2
= 0 ;
4979 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4985 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= PyInt_FromLong((long)result
);
5000 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5006 (char *) "self", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= PyInt_FromLong((long)result
);
5025 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5031 (char *) "self",(char *) "width", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->SetSashSize(arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 Py_INCREF(Py_None
); resultobj
= Py_None
;
5050 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5054 PyObject
* obj0
= 0 ;
5056 (char *) "self",(char *) "width", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 (arg1
)->SetBorderSize(arg2
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 Py_INCREF(Py_None
); resultobj
= Py_None
;
5075 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5081 (char *) "self", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= PyInt_FromLong((long)result
);
5100 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5106 (char *) "self", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= PyInt_FromLong((long)result
);
5125 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5129 bool arg3
= (bool) True
;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj2
= 0 ;
5133 (char *) "self",(char *) "position",(char *) "redraw", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5139 arg3
= PyInt_AsLong(obj2
) ? true : false;
5140 if (PyErr_Occurred()) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 (arg1
)->SetSashPosition(arg2
,arg3
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 Py_INCREF(Py_None
); resultobj
= Py_None
;
5156 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= PyInt_FromLong((long)result
);
5181 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self",(char *) "min", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 (arg1
)->SetMinimumPaneSize(arg2
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 Py_INCREF(Py_None
); resultobj
= Py_None
;
5206 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= PyInt_FromLong((long)result
);
5231 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5236 int arg4
= (int) 5 ;
5238 PyObject
* obj0
= 0 ;
5240 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= PyInt_FromLong((long)result
);
5259 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "self", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 (arg1
)->SizeWindows();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5283 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5290 (char *) "self",(char *) "needUpdating", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5295 arg2
= PyInt_AsLong(obj1
) ? true : false;
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->SetNeedUpdating(arg2
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5317 (char *) "self", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= PyInt_FromLong((long)result
);
5336 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5339 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5341 return Py_BuildValue((char *)"");
5343 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5346 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5347 wxSplitterEvent
*result
;
5348 PyObject
* obj1
= 0 ;
5350 (char *) "type",(char *) "splitter", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5371 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5375 PyObject
* obj0
= 0 ;
5377 (char *) "self",(char *) "pos", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 (arg1
)->SetSashPosition(arg2
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5396 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= PyInt_FromLong((long)result
);
5421 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5427 (char *) "self", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= wxPyMake_wxObject(result
);
5448 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5454 (char *) "self", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= PyInt_FromLong((long)result
);
5473 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5479 (char *) "self", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= PyInt_FromLong((long)result
);
5498 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5501 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5503 return Py_BuildValue((char *)"");
5505 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxWindow
*arg1
= (wxWindow
*) 0 ;
5509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5513 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5514 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5516 wxSashWindow
*result
;
5519 bool temp6
= False
;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj2
= 0 ;
5522 PyObject
* obj3
= 0 ;
5523 PyObject
* obj5
= 0 ;
5525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5544 arg6
= wxString_in_helper(obj5
);
5545 if (arg6
== NULL
) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5571 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxSashWindow
*result
;
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (wxSashWindow
*)new wxSashWindow();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5593 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5596 wxWindow
*arg2
= (wxWindow
*) 0 ;
5598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5602 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5603 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5608 bool temp7
= False
;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5611 PyObject
* obj3
= 0 ;
5612 PyObject
* obj4
= 0 ;
5613 PyObject
* obj6
= 0 ;
5615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5635 arg7
= wxString_in_helper(obj6
);
5636 if (arg7
== NULL
) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= PyInt_FromLong((long)result
);
5662 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj2
= 0 ;
5670 (char *) "self",(char *) "edge",(char *) "sash", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5675 arg3
= PyInt_AsLong(obj2
) ? true : false;
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5698 (char *) "self",(char *) "edge", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= PyInt_FromLong((long)result
);
5717 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5723 PyObject
* obj2
= 0 ;
5725 (char *) "self",(char *) "edge",(char *) "border", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5730 arg3
= PyInt_AsLong(obj2
) ? true : false;
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5753 (char *) "self",(char *) "edge", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= PyInt_FromLong((long)result
);
5772 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5777 PyObject
* obj0
= 0 ;
5779 (char *) "self",(char *) "edge", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
5783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= PyInt_FromLong((long)result
);
5798 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5804 (char *) "self",(char *) "width", NULL
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 (arg1
)->SetDefaultBorderSize(arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5829 (char *) "self", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= PyInt_FromLong((long)result
);
5848 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
;
5850 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5854 (char *) "self",(char *) "width", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->SetExtraBorderSize(arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= PyInt_FromLong((long)result
);
5898 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5904 (char *) "self",(char *) "min", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 (arg1
)->SetMinimumSizeX(arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self",(char *) "min", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 (arg1
)->SetMinimumSizeY(arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5952 PyObject
* obj0
= 0 ;
5954 (char *) "self", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= PyInt_FromLong((long)result
);
5973 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5977 PyObject
* obj0
= 0 ;
5979 (char *) "self", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= PyInt_FromLong((long)result
);
5998 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6002 PyObject
* obj0
= 0 ;
6004 (char *) "self",(char *) "max", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->SetMaximumSizeX(arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 Py_INCREF(Py_None
); resultobj
= Py_None
;
6023 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6029 (char *) "self",(char *) "max", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 (arg1
)->SetMaximumSizeY(arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 Py_INCREF(Py_None
); resultobj
= Py_None
;
6048 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "self", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= PyInt_FromLong((long)result
);
6073 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyInt_FromLong((long)result
);
6098 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6103 int arg4
= (int) 2 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= PyInt_FromLong((long)result
);
6126 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6129 PyObject
* obj0
= 0 ;
6131 (char *) "self", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 (arg1
)->SizeWindows();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 Py_INCREF(Py_None
); resultobj
= Py_None
;
6150 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6153 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6155 return Py_BuildValue((char *)"");
6157 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 int arg1
= (int) 0 ;
6160 int arg2
= (int) wxSASH_NONE
;
6161 wxSashEvent
*result
;
6163 (char *) "id",(char *) "edge", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6181 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6187 (char *) "self",(char *) "edge", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 Py_INCREF(Py_None
); resultobj
= Py_None
;
6206 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6212 (char *) "self", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= PyInt_FromLong((long)result
);
6231 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6239 (char *) "self",(char *) "rect", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6246 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6262 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6268 (char *) "self", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6282 resultptr
= new wxRect((wxRect
&) result
);
6283 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6291 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6297 (char *) "self",(char *) "status", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 Py_INCREF(Py_None
); resultobj
= Py_None
;
6316 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6322 (char *) "self", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= PyInt_FromLong((long)result
);
6341 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6344 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6346 return Py_BuildValue((char *)"");
6348 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 int arg1
= (int) 0 ;
6351 wxQueryLayoutInfoEvent
*result
;
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6371 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6377 (char *) "self",(char *) "length", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 (arg1
)->SetRequestedLength(arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 Py_INCREF(Py_None
); resultobj
= Py_None
;
6396 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6402 (char *) "self", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= PyInt_FromLong((long)result
);
6421 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self",(char *) "flags", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 (arg1
)->SetFlags(arg2
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 Py_INCREF(Py_None
); resultobj
= Py_None
;
6446 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= PyInt_FromLong((long)result
);
6471 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6479 (char *) "self",(char *) "size", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 (arg1
)->SetSize((wxSize
const &)*arg2
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "self", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6522 resultptr
= new wxSize((wxSize
&) result
);
6523 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6531 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6537 (char *) "self",(char *) "orient", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 Py_INCREF(Py_None
); resultobj
= Py_None
;
6556 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6562 (char *) "self", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= PyInt_FromLong((long)result
);
6581 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6585 PyObject
* obj0
= 0 ;
6587 (char *) "self",(char *) "align", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= PyInt_FromLong((long)result
);
6631 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6634 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
6636 return Py_BuildValue((char *)"");
6638 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 int arg1
= (int) 0 ;
6641 wxCalculateLayoutEvent
*result
;
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
6661 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "self",(char *) "flags", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 (arg1
)->SetFlags(arg2
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 Py_INCREF(Py_None
); resultobj
= Py_None
;
6686 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6692 (char *) "self", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= PyInt_FromLong((long)result
);
6711 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "rect", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6726 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 (arg1
)->SetRect((wxRect
const &)*arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 Py_INCREF(Py_None
); resultobj
= Py_None
;
6742 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6762 resultptr
= new wxRect((wxRect
&) result
);
6763 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6771 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6774 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
6776 return Py_BuildValue((char *)"");
6778 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxWindow
*arg1
= (wxWindow
*) 0 ;
6782 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6783 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6784 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6785 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6786 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6787 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
6788 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6789 wxSashLayoutWindow
*result
;
6792 bool temp6
= False
;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj2
= 0 ;
6795 PyObject
* obj3
= 0 ;
6796 PyObject
* obj5
= 0 ;
6798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6817 arg6
= wxString_in_helper(obj5
);
6818 if (arg6
== NULL
) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6844 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxSashLayoutWindow
*result
;
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6866 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6869 wxWindow
*arg2
= (wxWindow
*) 0 ;
6871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6875 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6876 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
6877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6881 bool temp7
= False
;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 PyObject
* obj3
= 0 ;
6885 PyObject
* obj4
= 0 ;
6886 PyObject
* obj6
= 0 ;
6888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6908 arg7
= wxString_in_helper(obj6
);
6909 if (arg7
== NULL
) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= PyInt_FromLong((long)result
);
6935 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (int)(arg1
)->GetAlignment();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= PyInt_FromLong((long)result
);
6960 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (int)(arg1
)->GetOrientation();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= PyInt_FromLong((long)result
);
6985 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "self",(char *) "alignment", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7018 (char *) "self",(char *) "size", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7025 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self",(char *) "orientation", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 Py_INCREF(Py_None
); resultobj
= Py_None
;
7066 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7069 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7071 return Py_BuildValue((char *)"");
7073 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxLayoutAlgorithm
*result
;
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7095 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7098 PyObject
* obj0
= 0 ;
7100 (char *) "self", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7122 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7123 wxRect
*arg3
= (wxRect
*) NULL
;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7127 PyObject
* obj2
= 0 ;
7129 (char *) "self",(char *) "frame",(char *) "rect", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7136 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= PyInt_FromLong((long)result
);
7152 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7155 wxFrame
*arg2
= (wxFrame
*) 0 ;
7156 wxWindow
*arg3
= (wxWindow
*) NULL
;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7160 PyObject
* obj2
= 0 ;
7162 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7169 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= PyInt_FromLong((long)result
);
7185 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7188 wxWindow
*arg2
= (wxWindow
*) 0 ;
7189 wxWindow
*arg3
= (wxWindow
*) NULL
;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7195 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= PyInt_FromLong((long)result
);
7218 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7221 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7223 return Py_BuildValue((char *)"");
7225 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxWindow
*arg1
= (wxWindow
*) 0 ;
7228 int arg2
= (int) wxBORDER_NONE
;
7229 wxPopupWindow
*result
;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "parent",(char *) "flags", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7251 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxPopupWindow
*result
;
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (wxPopupWindow
*)new wxPopupWindow();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7273 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7276 wxWindow
*arg2
= (wxWindow
*) 0 ;
7277 int arg3
= (int) wxBORDER_NONE
;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7282 (char *) "self",(char *) "parent",(char *) "flags", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= PyInt_FromLong((long)result
);
7302 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7309 PyObject
* obj0
= 0 ;
7310 PyObject
* obj1
= 0 ;
7311 PyObject
* obj2
= 0 ;
7313 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7320 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7324 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7343 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7345 return Py_BuildValue((char *)"");
7347 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxWindow
*arg1
= (wxWindow
*) 0 ;
7350 int arg2
= (int) wxBORDER_NONE
;
7351 wxPyPopupTransientWindow
*result
;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "parent",(char *) "style", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7373 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxPyPopupTransientWindow
*result
;
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7395 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7398 PyObject
*arg2
= (PyObject
*) 0 ;
7399 PyObject
*arg3
= (PyObject
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7401 PyObject
* obj1
= 0 ;
7402 PyObject
* obj2
= 0 ;
7404 (char *) "self",(char *) "self",(char *) "_class", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7428 wxWindow
*arg2
= (wxWindow
*) NULL
;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7432 (char *) "self",(char *) "focus", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 (arg1
)->Popup(arg2
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7478 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7481 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7483 return Py_BuildValue((char *)"");
7485 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxWindow
*arg1
= (wxWindow
*) 0 ;
7488 wxString
*arg2
= 0 ;
7489 int arg3
= (int) 100 ;
7490 wxRect
*arg4
= (wxRect
*) NULL
;
7491 wxTipWindow
*result
;
7492 bool temp2
= False
;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 PyObject
* obj3
= 0 ;
7497 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7503 arg2
= wxString_in_helper(obj1
);
7504 if (arg2
== NULL
) SWIG_fail
;
7508 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7532 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7540 (char *) "self",(char *) "rectBound", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7547 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 Py_INCREF(Py_None
); resultobj
= Py_None
;
7563 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "self", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 Py_INCREF(Py_None
); resultobj
= Py_None
;
7587 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7590 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7592 return Py_BuildValue((char *)"");
7594 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxWindow
*arg1
= (wxWindow
*) 0 ;
7597 int arg2
= (int) wxID_ANY
;
7598 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7599 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7600 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7601 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7602 long arg5
= (long) 0 ;
7603 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7604 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7605 wxPyVScrolledWindow
*result
;
7608 bool temp6
= False
;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj2
= 0 ;
7611 PyObject
* obj3
= 0 ;
7612 PyObject
* obj5
= 0 ;
7614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7633 arg6
= wxString_in_helper(obj5
);
7634 if (arg6
== NULL
) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7660 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxPyVScrolledWindow
*result
;
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7682 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7685 PyObject
*arg2
= (PyObject
*) 0 ;
7686 PyObject
*arg3
= (PyObject
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7688 PyObject
* obj1
= 0 ;
7689 PyObject
* obj2
= 0 ;
7691 (char *) "self",(char *) "self",(char *) "_class", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 Py_INCREF(Py_None
); resultobj
= Py_None
;
7712 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7715 wxWindow
*arg2
= (wxWindow
*) 0 ;
7716 int arg3
= (int) wxID_ANY
;
7717 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7718 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7719 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7720 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7721 long arg6
= (long) 0 ;
7722 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7723 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7727 bool temp7
= False
;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7730 PyObject
* obj3
= 0 ;
7731 PyObject
* obj4
= 0 ;
7732 PyObject
* obj6
= 0 ;
7734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7754 arg7
= wxString_in_helper(obj6
);
7755 if (arg7
== NULL
) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= PyInt_FromLong((long)result
);
7781 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7788 (char *) "self",(char *) "count", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7793 arg2
= (size_t) PyInt_AsLong(obj1
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 (arg1
)->SetLineCount(arg2
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 Py_INCREF(Py_None
); resultobj
= Py_None
;
7809 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "self",(char *) "line", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 arg2
= (size_t) PyInt_AsLong(obj1
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)(arg1
)->ScrollToLine(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= PyInt_FromLong((long)result
);
7838 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self",(char *) "lines", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (bool)(arg1
)->ScrollLines(arg2
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= PyInt_FromLong((long)result
);
7864 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "self",(char *) "pages", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
7875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (bool)(arg1
)->ScrollPages(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= PyInt_FromLong((long)result
);
7890 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7897 (char *) "self",(char *) "line", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7902 arg2
= (size_t) PyInt_AsLong(obj1
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 (arg1
)->RefreshLine(arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7925 PyObject
* obj2
= 0 ;
7927 (char *) "self",(char *) "from",(char *) "to", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7932 arg2
= (size_t) PyInt_AsLong(obj1
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7934 arg3
= (size_t) PyInt_AsLong(obj2
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 (arg1
)->RefreshLines(arg2
,arg3
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 Py_INCREF(Py_None
); resultobj
= Py_None
;
7950 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7958 (char *) "self",(char *) "x",(char *) "y", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= PyInt_FromLong((long)result
);
7977 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7986 (char *) "self",(char *) "pt", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= PyInt_FromLong((long)result
);
8009 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8012 PyObject
* obj0
= 0 ;
8014 (char *) "self", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 (arg1
)->RefreshAll();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= PyInt_FromLong((long)result
);
8058 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "self", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= PyInt_FromLong((long)result
);
8083 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8089 (char *) "self", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= PyInt_FromLong((long)result
);
8108 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8116 (char *) "self",(char *) "line", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8121 arg2
= (size_t) PyInt_AsLong(obj1
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= PyInt_FromLong((long)result
);
8137 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8140 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8142 return Py_BuildValue((char *)"");
8144 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxWindow
*arg1
= (wxWindow
*) 0 ;
8147 int arg2
= (int) wxID_ANY
;
8148 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8149 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8150 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8151 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8152 long arg5
= (long) 0 ;
8153 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8154 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8155 wxPyVListBox
*result
;
8158 bool temp6
= False
;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj2
= 0 ;
8161 PyObject
* obj3
= 0 ;
8162 PyObject
* obj5
= 0 ;
8164 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8178 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8183 arg6
= wxString_in_helper(obj5
);
8184 if (arg6
== NULL
) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8210 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxPyVListBox
*result
;
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (wxPyVListBox
*)new wxPyVListBox();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8232 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8235 PyObject
*arg2
= (PyObject
*) 0 ;
8236 PyObject
*arg3
= (PyObject
*) 0 ;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8239 PyObject
* obj2
= 0 ;
8241 (char *) "self",(char *) "self",(char *) "_class", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8265 wxWindow
*arg2
= (wxWindow
*) 0 ;
8266 int arg3
= (int) wxID_ANY
;
8267 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8268 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8269 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8270 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8271 long arg6
= (long) 0 ;
8272 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8273 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8277 bool temp7
= False
;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8280 PyObject
* obj3
= 0 ;
8281 PyObject
* obj4
= 0 ;
8282 PyObject
* obj6
= 0 ;
8284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8304 arg7
= wxString_in_helper(obj6
);
8305 if (arg7
== NULL
) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= PyInt_FromLong((long)result
);
8331 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
;
8333 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8335 PyObject
* obj0
= 0 ;
8337 (char *) "self", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= PyInt_FromLong((long)result
);
8356 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8360 PyObject
* obj0
= 0 ;
8362 (char *) "self", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= PyInt_FromLong((long)result
);
8381 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8385 PyObject
* obj0
= 0 ;
8387 (char *) "self", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= PyInt_FromLong((long)result
);
8406 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8414 (char *) "self",(char *) "item", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8419 arg2
= (size_t) PyInt_AsLong(obj1
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= PyInt_FromLong((long)result
);
8435 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8443 (char *) "self",(char *) "item", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8448 arg2
= (size_t) PyInt_AsLong(obj1
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= PyInt_FromLong((long)result
);
8464 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "self", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= PyInt_FromLong((long)result
);
8489 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8492 unsigned long *arg2
= 0 ;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8497 (char *) "self",(char *) "cookie", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= PyInt_FromLong((long)result
);
8520 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8523 unsigned long *arg2
= 0 ;
8525 PyObject
* obj0
= 0 ;
8526 PyObject
* obj1
= 0 ;
8528 (char *) "self",(char *) "cookie", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= PyInt_FromLong((long)result
);
8551 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8555 PyObject
* obj0
= 0 ;
8557 (char *) "self", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 wxPoint
* resultptr
;
8571 resultptr
= new wxPoint((wxPoint
&) result
);
8572 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8580 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8595 result
= (wxColour
*) &_result_ref
;
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8608 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8615 (char *) "self",(char *) "count", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8620 arg2
= (size_t) PyInt_AsLong(obj1
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 (arg1
)->SetItemCount(arg2
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8639 PyObject
* obj0
= 0 ;
8641 (char *) "self", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self",(char *) "selection", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 (arg1
)->SetSelection(arg2
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 Py_INCREF(Py_None
); resultobj
= Py_None
;
8685 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8689 bool arg3
= (bool) True
;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 PyObject
* obj2
= 0 ;
8695 (char *) "self",(char *) "item",(char *) "select", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8700 arg2
= (size_t) PyInt_AsLong(obj1
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 arg3
= PyInt_AsLong(obj2
) ? true : false;
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyInt_FromLong((long)result
);
8720 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8730 (char *) "self",(char *) "from",(char *) "to", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8735 arg2
= (size_t) PyInt_AsLong(obj1
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8737 arg3
= (size_t) PyInt_AsLong(obj2
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= PyInt_FromLong((long)result
);
8753 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8760 (char *) "self",(char *) "item", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 arg2
= (size_t) PyInt_AsLong(obj1
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 (arg1
)->Toggle(arg2
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 Py_INCREF(Py_None
); resultobj
= Py_None
;
8781 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8785 PyObject
* obj0
= 0 ;
8787 (char *) "self", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
8791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 result
= (bool)(arg1
)->SelectAll();
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= PyInt_FromLong((long)result
);
8806 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "self", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 result
= (bool)(arg1
)->DeselectAll();
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= PyInt_FromLong((long)result
);
8831 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "self",(char *) "pt", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8867 PyObject
* obj0
= 0 ;
8869 (char *) "self",(char *) "x",(char *) "y", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 (arg1
)->SetMargins(arg2
,arg3
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8888 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8891 wxColour
*arg2
= 0 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8896 (char *) "self",(char *) "col", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 Py_INCREF(Py_None
); resultobj
= Py_None
;
8919 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
8921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8922 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
8924 return Py_BuildValue((char *)"");
8926 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
;
8928 wxWindow
*arg1
= (wxWindow
*) 0 ;
8929 int arg2
= (int) wxID_ANY
;
8930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8934 long arg5
= (long) 0 ;
8935 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8936 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8937 wxPyHtmlListBox
*result
;
8940 bool temp6
= False
;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj2
= 0 ;
8943 PyObject
* obj3
= 0 ;
8944 PyObject
* obj5
= 0 ;
8946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8960 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8965 arg6
= wxString_in_helper(obj5
);
8966 if (arg6
== NULL
) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
8992 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxPyHtmlListBox
*result
;
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9014 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9017 PyObject
*arg2
= (PyObject
*) 0 ;
9018 PyObject
*arg3
= (PyObject
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 PyObject
* obj2
= 0 ;
9023 (char *) "self",(char *) "self",(char *) "_class", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9044 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9047 wxWindow
*arg2
= (wxWindow
*) 0 ;
9048 int arg3
= (int) wxID_ANY
;
9049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9053 long arg6
= (long) 0 ;
9054 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9059 bool temp7
= False
;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 PyObject
* obj4
= 0 ;
9064 PyObject
* obj6
= 0 ;
9066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9086 arg7
= wxString_in_helper(obj6
);
9087 if (arg7
== NULL
) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= PyInt_FromLong((long)result
);
9113 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9118 (char *) "self", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 (arg1
)->RefreshAll();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9144 (char *) "self",(char *) "count", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9149 arg2
= (size_t) PyInt_AsLong(obj1
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->SetItemCount(arg2
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9168 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9170 return Py_BuildValue((char *)"");
9172 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxTaskBarIcon
*result
;
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9194 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9199 (char *) "self", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 Py_INCREF(Py_None
); resultobj
= Py_None
;
9218 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= PyInt_FromLong((long)result
);
9243 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= PyInt_FromLong((long)result
);
9268 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9272 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9275 bool temp3
= False
;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 PyObject
* obj2
= 0 ;
9280 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9291 arg3
= wxString_in_helper(obj2
);
9292 if (arg3
== NULL
) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= PyInt_FromLong((long)result
);
9318 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9324 (char *) "self", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (bool)(arg1
)->RemoveIcon();
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= PyInt_FromLong((long)result
);
9343 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
;
9345 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9346 wxMenu
*arg2
= (wxMenu
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9351 (char *) "self",(char *) "menu", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (bool)(arg1
)->PopupMenu(arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= PyInt_FromLong((long)result
);
9371 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9374 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9376 return Py_BuildValue((char *)"");
9378 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9381 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9382 wxTaskBarIconEvent
*result
;
9383 PyObject
* obj1
= 0 ;
9385 (char *) "evtType",(char *) "tbIcon", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9404 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9407 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9409 return Py_BuildValue((char *)"");
9411 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxColourData
*result
;
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (wxColourData
*)new wxColourData();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9433 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxColourData
*arg1
= (wxColourData
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 Py_INCREF(Py_None
); resultobj
= Py_None
;
9457 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxColourData
*arg1
= (wxColourData
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "self", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (bool)(arg1
)->GetChooseFull();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= PyInt_FromLong((long)result
);
9482 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxColourData
*arg1
= (wxColourData
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (arg1
)->GetColour();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9501 wxColour
* resultptr
;
9502 resultptr
= new wxColour((wxColour
&) result
);
9503 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9511 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxColourData
*arg1
= (wxColourData
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self",(char *) "i", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (arg1
)->GetCustomColour(arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9531 wxColour
* resultptr
;
9532 resultptr
= new wxColour((wxColour
&) result
);
9533 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9541 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxColourData
*arg1
= (wxColourData
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9547 (char *) "self",(char *) "flag", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 (arg1
)->SetChooseFull(arg2
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 Py_INCREF(Py_None
); resultobj
= Py_None
;
9566 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxColourData
*arg1
= (wxColourData
*) 0 ;
9569 wxColour
*arg2
= 0 ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9574 (char *) "self",(char *) "colour", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9581 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 (arg1
)->SetColour((wxColour
const &)*arg2
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 Py_INCREF(Py_None
); resultobj
= Py_None
;
9597 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxColourData
*arg1
= (wxColourData
*) 0 ;
9601 wxColour
*arg3
= 0 ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj2
= 0 ;
9606 (char *) "self",(char *) "i",(char *) "colour", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 Py_INCREF(Py_None
); resultobj
= Py_None
;
9629 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9632 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9634 return Py_BuildValue((char *)"");
9636 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxWindow
*arg1
= (wxWindow
*) 0 ;
9639 wxColourData
*arg2
= (wxColourData
*) NULL
;
9640 wxColourDialog
*result
;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9644 (char *) "parent",(char *) "data", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9666 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9669 wxColourData
*result
;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9681 result
= (wxColourData
*) &_result_ref
;
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9694 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "self", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (int)(arg1
)->ShowModal();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= PyInt_FromLong((long)result
);
9719 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9722 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
9724 return Py_BuildValue((char *)"");
9726 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxWindow
*arg1
= (wxWindow
*) 0 ;
9729 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
9730 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9733 long arg4
= (long) 0 ;
9734 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9735 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9736 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9737 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9738 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
9739 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9740 wxDirDialog
*result
;
9741 bool temp2
= False
;
9742 bool temp3
= False
;
9745 bool temp7
= False
;
9746 PyObject
* obj0
= 0 ;
9747 PyObject
* obj1
= 0 ;
9748 PyObject
* obj2
= 0 ;
9749 PyObject
* obj4
= 0 ;
9750 PyObject
* obj5
= 0 ;
9751 PyObject
* obj6
= 0 ;
9753 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9760 arg2
= wxString_in_helper(obj1
);
9761 if (arg2
== NULL
) SWIG_fail
;
9767 arg3
= wxString_in_helper(obj2
);
9768 if (arg3
== NULL
) SWIG_fail
;
9775 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9781 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9786 arg7
= wxString_in_helper(obj6
);
9787 if (arg7
== NULL
) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
9829 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9835 (char *) "self", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
9839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (arg1
)->GetPath();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9860 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (arg1
)->GetMessage();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9891 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "self", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (long)(arg1
)->GetStyle();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= PyInt_FromLong((long)result
);
9916 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9919 wxString
*arg2
= 0 ;
9920 bool temp2
= False
;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "message", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9930 arg2
= wxString_in_helper(obj1
);
9931 if (arg2
== NULL
) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 (arg1
)->SetMessage((wxString
const &)*arg2
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 Py_INCREF(Py_None
); resultobj
= Py_None
;
9956 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9959 wxString
*arg2
= 0 ;
9960 bool temp2
= False
;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9964 (char *) "self",(char *) "path", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9970 arg2
= wxString_in_helper(obj1
);
9971 if (arg2
== NULL
) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->SetPath((wxString
const &)*arg2
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9996 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (int)(arg1
)->ShowModal();
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= PyInt_FromLong((long)result
);
10021 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10024 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10026 return Py_BuildValue((char *)"");
10028 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxWindow
*arg1
= (wxWindow
*) 0 ;
10031 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10032 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10033 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10034 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10035 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10036 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10037 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10038 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10039 long arg6
= (long) 0 ;
10040 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10041 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10042 wxFileDialog
*result
;
10043 bool temp2
= False
;
10044 bool temp3
= False
;
10045 bool temp4
= False
;
10046 bool temp5
= False
;
10048 PyObject
* obj0
= 0 ;
10049 PyObject
* obj1
= 0 ;
10050 PyObject
* obj2
= 0 ;
10051 PyObject
* obj3
= 0 ;
10052 PyObject
* obj4
= 0 ;
10053 PyObject
* obj6
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10062 arg2
= wxString_in_helper(obj1
);
10063 if (arg2
== NULL
) SWIG_fail
;
10069 arg3
= wxString_in_helper(obj2
);
10070 if (arg3
== NULL
) SWIG_fail
;
10076 arg4
= wxString_in_helper(obj3
);
10077 if (arg4
== NULL
) SWIG_fail
;
10083 arg5
= wxString_in_helper(obj4
);
10084 if (arg5
== NULL
) SWIG_fail
;
10091 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10140 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10143 wxString
*arg2
= 0 ;
10144 bool temp2
= False
;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self",(char *) "message", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10154 arg2
= wxString_in_helper(obj1
);
10155 if (arg2
== NULL
) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->SetMessage((wxString
const &)*arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10180 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10183 wxString
*arg2
= 0 ;
10184 bool temp2
= False
;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self",(char *) "path", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10194 arg2
= wxString_in_helper(obj1
);
10195 if (arg2
== NULL
) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 (arg1
)->SetPath((wxString
const &)*arg2
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 Py_INCREF(Py_None
); resultobj
= Py_None
;
10220 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10223 wxString
*arg2
= 0 ;
10224 bool temp2
= False
;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "dir", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10234 arg2
= wxString_in_helper(obj1
);
10235 if (arg2
== NULL
) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 Py_INCREF(Py_None
); resultobj
= Py_None
;
10260 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10263 wxString
*arg2
= 0 ;
10264 bool temp2
= False
;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "name", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10274 arg2
= wxString_in_helper(obj1
);
10275 if (arg2
== NULL
) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 (arg1
)->SetFilename((wxString
const &)*arg2
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 Py_INCREF(Py_None
); resultobj
= Py_None
;
10300 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10303 wxString
*arg2
= 0 ;
10304 bool temp2
= False
;
10305 PyObject
* obj0
= 0 ;
10306 PyObject
* obj1
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self",(char *) "wildCard", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10314 arg2
= wxString_in_helper(obj1
);
10315 if (arg2
== NULL
) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 Py_INCREF(Py_None
); resultobj
= Py_None
;
10340 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "style", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 (arg1
)->SetStyle(arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 Py_INCREF(Py_None
); resultobj
= Py_None
;
10365 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self",(char *) "filterIndex", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 (arg1
)->SetFilterIndex(arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10421 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10452 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10483 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10514 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10545 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10549 PyObject
* obj0
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= PyInt_FromLong((long)result
);
10570 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10574 PyObject
* obj0
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= PyInt_FromLong((long)result
);
10595 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
;
10620 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10624 PyObject
* obj0
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= result
;
10645 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10648 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10650 return Py_BuildValue((char *)"");
10652 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxWindow
*arg1
= (wxWindow
*) 0 ;
10655 wxString
*arg2
= 0 ;
10656 wxString
*arg3
= 0 ;
10658 wxString
*arg5
= (wxString
*) 0 ;
10659 long arg6
= (long) wxCHOICEDLG_STYLE
;
10660 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10661 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10662 wxMultiChoiceDialog
*result
;
10663 bool temp2
= False
;
10664 bool temp3
= False
;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 PyObject
* obj2
= 0 ;
10669 PyObject
* obj4
= 0 ;
10670 PyObject
* obj6
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10678 arg2
= wxString_in_helper(obj1
);
10679 if (arg2
== NULL
) SWIG_fail
;
10683 arg3
= wxString_in_helper(obj2
);
10684 if (arg3
== NULL
) SWIG_fail
;
10687 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10691 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
10724 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10727 wxArrayInt
*arg2
= 0 ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "selections", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10737 if (! PySequence_Check(obj1
)) {
10738 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10741 arg2
= new wxArrayInt
;
10742 int i
, len
=PySequence_Length(obj1
);
10743 for (i
=0; i
<len
; i
++) {
10744 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10745 PyObject
* number
= PyNumber_Int(item
);
10746 arg2
->Add(PyInt_AS_LONG(number
));
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 Py_INCREF(Py_None
); resultobj
= Py_None
;
10760 if (arg2
) delete arg2
;
10765 if (arg2
) delete arg2
;
10771 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= result
;
10796 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10799 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
10801 return Py_BuildValue((char *)"");
10803 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxWindow
*arg1
= (wxWindow
*) 0 ;
10806 wxString
*arg2
= 0 ;
10807 wxString
*arg3
= 0 ;
10809 wxString
*arg5
= (wxString
*) 0 ;
10810 long arg6
= (long) wxCHOICEDLG_STYLE
;
10811 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10812 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10813 wxSingleChoiceDialog
*result
;
10814 bool temp2
= False
;
10815 bool temp3
= False
;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 PyObject
* obj2
= 0 ;
10820 PyObject
* obj3
= 0 ;
10821 PyObject
* obj5
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10829 arg2
= wxString_in_helper(obj1
);
10830 if (arg2
== NULL
) SWIG_fail
;
10834 arg3
= wxString_in_helper(obj2
);
10835 if (arg3
== NULL
) SWIG_fail
;
10839 arg4
= PyList_Size(obj3
);
10840 arg5
= wxString_LIST_helper(obj3
);
10841 if (arg5
== NULL
) SWIG_fail
;
10846 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
10866 if (arg5
) delete [] arg5
;
10879 if (arg5
) delete [] arg5
;
10885 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (int)(arg1
)->GetSelection();
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= PyInt_FromLong((long)result
);
10910 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 result
= (arg1
)->GetStringSelection();
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10941 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "sel", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 (arg1
)->SetSelection(arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10966 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (int)(arg1
)->ShowModal();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= PyInt_FromLong((long)result
);
10991 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10994 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
10996 return Py_BuildValue((char *)"");
10998 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxWindow
*arg1
= (wxWindow
*) 0 ;
11001 wxString
*arg2
= 0 ;
11002 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11003 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11004 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11005 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11006 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11007 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11008 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11009 wxTextEntryDialog
*result
;
11010 bool temp2
= False
;
11011 bool temp3
= False
;
11012 bool temp4
= False
;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 PyObject
* obj2
= 0 ;
11017 PyObject
* obj3
= 0 ;
11018 PyObject
* obj5
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11026 arg2
= wxString_in_helper(obj1
);
11027 if (arg2
== NULL
) SWIG_fail
;
11032 arg3
= wxString_in_helper(obj2
);
11033 if (arg3
== NULL
) SWIG_fail
;
11039 arg4
= wxString_in_helper(obj3
);
11040 if (arg4
== NULL
) SWIG_fail
;
11047 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11088 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (arg1
)->GetValue();
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11119 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11122 wxString
*arg2
= 0 ;
11123 bool temp2
= False
;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self",(char *) "value", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11133 arg2
= wxString_in_helper(obj1
);
11134 if (arg2
== NULL
) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 (arg1
)->SetValue((wxString
const &)*arg2
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (int)(arg1
)->ShowModal();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= PyInt_FromLong((long)result
);
11184 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11187 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11189 return Py_BuildValue((char *)"");
11191 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxFontData
*result
;
11194 char *kwnames
[] = {
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (wxFontData
*)new wxFontData();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11213 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxFontData
*arg1
= (wxFontData
*) 0 ;
11216 PyObject
* obj0
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxFontData
*arg1
= (wxFontData
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "enable", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11249 arg2
= PyInt_AsLong(obj1
) ? true : false;
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->EnableEffects(arg2
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11265 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxFontData
*arg1
= (wxFontData
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (bool)(arg1
)->GetAllowSymbols();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= PyInt_FromLong((long)result
);
11290 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxFontData
*arg1
= (wxFontData
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (arg1
)->GetColour();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 wxColour
* resultptr
;
11310 resultptr
= new wxColour((wxColour
&) result
);
11311 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11319 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxFontData
*arg1
= (wxFontData
*) 0 ;
11323 PyObject
* obj0
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (arg1
)->GetChosenFont();
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 wxFont
* resultptr
;
11339 resultptr
= new wxFont((wxFont
&) result
);
11340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11348 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxFontData
*arg1
= (wxFontData
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (bool)(arg1
)->GetEnableEffects();
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= PyInt_FromLong((long)result
);
11373 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxFontData
*arg1
= (wxFontData
*) 0 ;
11377 PyObject
* obj0
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "self", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (arg1
)->GetInitialFont();
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11392 wxFont
* resultptr
;
11393 resultptr
= new wxFont((wxFont
&) result
);
11394 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11402 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxFontData
*arg1
= (wxFontData
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (bool)(arg1
)->GetShowHelp();
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= PyInt_FromLong((long)result
);
11427 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxFontData
*arg1
= (wxFontData
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self",(char *) "allowSymbols", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11439 arg2
= PyInt_AsLong(obj1
) ? true : false;
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SetAllowSymbols(arg2
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 Py_INCREF(Py_None
); resultobj
= Py_None
;
11455 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxFontData
*arg1
= (wxFontData
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "font", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11468 if (arg2
== NULL
) {
11469 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 Py_INCREF(Py_None
); resultobj
= Py_None
;
11485 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxFontData
*arg1
= (wxFontData
*) 0 ;
11488 wxColour
*arg2
= 0 ;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self",(char *) "colour", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 (arg1
)->SetColour((wxColour
const &)*arg2
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 Py_INCREF(Py_None
); resultobj
= Py_None
;
11516 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxFontData
*arg1
= (wxFontData
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self",(char *) "font", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11529 if (arg2
== NULL
) {
11530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 Py_INCREF(Py_None
); resultobj
= Py_None
;
11546 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
;
11548 wxFontData
*arg1
= (wxFontData
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self",(char *) "min",(char *) "max", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 (arg1
)->SetRange(arg2
,arg3
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxFontData
*arg1
= (wxFontData
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "showHelp", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11584 arg2
= PyInt_AsLong(obj1
) ? true : false;
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 (arg1
)->SetShowHelp(arg2
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 Py_INCREF(Py_None
); resultobj
= Py_None
;
11600 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11603 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11605 return Py_BuildValue((char *)"");
11607 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxWindow
*arg1
= (wxWindow
*) 0 ;
11610 wxFontData
*arg2
= 0 ;
11611 wxFontDialog
*result
;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "parent",(char *) "data", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11621 if (arg2
== NULL
) {
11622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11638 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11641 wxFontData
*result
;
11642 PyObject
* obj0
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11653 result
= (wxFontData
*) &_result_ref
;
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11666 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (int)(arg1
)->ShowModal();
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= PyInt_FromLong((long)result
);
11691 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11694 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
11696 return Py_BuildValue((char *)"");
11698 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxWindow
*arg1
= (wxWindow
*) 0 ;
11701 wxString
*arg2
= 0 ;
11702 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
11703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11704 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11705 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11706 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11707 wxMessageDialog
*result
;
11708 bool temp2
= False
;
11709 bool temp3
= False
;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 PyObject
* obj4
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11722 arg2
= wxString_in_helper(obj1
);
11723 if (arg2
== NULL
) SWIG_fail
;
11728 arg3
= wxString_in_helper(obj2
);
11729 if (arg3
== NULL
) SWIG_fail
;
11736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
11769 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (int)(arg1
)->ShowModal();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= PyInt_FromLong((long)result
);
11794 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11797 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
11799 return Py_BuildValue((char *)"");
11801 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxString
*arg1
= 0 ;
11804 wxString
*arg2
= 0 ;
11805 int arg3
= (int) 100 ;
11806 wxWindow
*arg4
= (wxWindow
*) NULL
;
11807 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
11808 wxProgressDialog
*result
;
11809 bool temp1
= False
;
11810 bool temp2
= False
;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 PyObject
* obj3
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
11820 arg1
= wxString_in_helper(obj0
);
11821 if (arg1
== NULL
) SWIG_fail
;
11825 arg2
= wxString_in_helper(obj1
);
11826 if (arg2
== NULL
) SWIG_fail
;
11830 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
11862 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11869 bool temp3
= False
;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11880 arg3
= wxString_in_helper(obj2
);
11881 if (arg3
== NULL
) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= PyInt_FromLong((long)result
);
11907 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 Py_INCREF(Py_None
); resultobj
= Py_None
;
11931 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11934 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
11936 return Py_BuildValue((char *)"");
11938 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11941 int arg2
= (int) 0 ;
11942 wxFindDialogEvent
*result
;
11943 char *kwnames
[] = {
11944 (char *) "commandType",(char *) "id", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
11962 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
11972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (int)(arg1
)->GetFlags();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= PyInt_FromLong((long)result
);
11987 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11991 PyObject
* obj0
= 0 ;
11992 char *kwnames
[] = {
11993 (char *) "self", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
11997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 wxString
const &_result_ref
= (arg1
)->GetFindString();
12002 result
= (wxString
*) &_result_ref
;
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12012 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12021 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12036 result
= (wxString
*) &_result_ref
;
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12046 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12055 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12058 wxFindReplaceDialog
*result
;
12059 PyObject
* obj0
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12080 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "flags", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->SetFlags(arg2
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 Py_INCREF(Py_None
); resultobj
= Py_None
;
12105 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12108 wxString
*arg2
= 0 ;
12109 bool temp2
= False
;
12110 PyObject
* obj0
= 0 ;
12111 PyObject
* obj1
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self",(char *) "str", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12119 arg2
= wxString_in_helper(obj1
);
12120 if (arg2
== NULL
) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->SetFindString((wxString
const &)*arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12145 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12148 wxString
*arg2
= 0 ;
12149 bool temp2
= False
;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self",(char *) "str", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12159 arg2
= wxString_in_helper(obj1
);
12160 if (arg2
== NULL
) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 Py_INCREF(Py_None
); resultobj
= Py_None
;
12185 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12188 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12190 return Py_BuildValue((char *)"");
12192 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 int arg1
= (int) 0 ;
12195 wxFindReplaceData
*result
;
12196 char *kwnames
[] = {
12197 (char *) "flags", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12215 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 wxString
const &_result_ref
= (arg1
)->GetFindString();
12254 result
= (wxString
*) &_result_ref
;
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12273 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12288 result
= (wxString
*) &_result_ref
;
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12307 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (int)(arg1
)->GetFlags();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= PyInt_FromLong((long)result
);
12332 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self",(char *) "flags", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetFlags(arg2
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12360 wxString
*arg2
= 0 ;
12361 bool temp2
= False
;
12362 PyObject
* obj0
= 0 ;
12363 PyObject
* obj1
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self",(char *) "str", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12371 arg2
= wxString_in_helper(obj1
);
12372 if (arg2
== NULL
) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->SetFindString((wxString
const &)*arg2
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12400 wxString
*arg2
= 0 ;
12401 bool temp2
= False
;
12402 PyObject
* obj0
= 0 ;
12403 PyObject
* obj1
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "str", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12411 arg2
= wxString_in_helper(obj1
);
12412 if (arg2
== NULL
) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12437 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12440 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12442 return Py_BuildValue((char *)"");
12444 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxWindow
*arg1
= (wxWindow
*) 0 ;
12447 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12448 wxString
*arg3
= 0 ;
12449 int arg4
= (int) 0 ;
12450 wxFindReplaceDialog
*result
;
12451 bool temp3
= False
;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 PyObject
* obj2
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12463 arg3
= wxString_in_helper(obj2
);
12464 if (arg3
== NULL
) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12489 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxFindReplaceDialog
*result
;
12492 char *kwnames
[] = {
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12511 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12514 wxWindow
*arg2
= (wxWindow
*) 0 ;
12515 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12516 wxString
*arg4
= 0 ;
12517 int arg5
= (int) 0 ;
12519 bool temp4
= False
;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 PyObject
* obj2
= 0 ;
12523 PyObject
* obj3
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12531 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12533 arg4
= wxString_in_helper(obj3
);
12534 if (arg4
== NULL
) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= PyInt_FromLong((long)result
);
12559 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12562 wxFindReplaceData
*result
;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12584 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12587 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "data", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetData(arg2
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12614 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12616 return Py_BuildValue((char *)"");
12618 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxWindow
*arg1
= (wxWindow
*) 0 ;
12622 wxString
*arg3
= 0 ;
12623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12627 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12628 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12629 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12630 wxMDIParentFrame
*result
;
12631 bool temp3
= False
;
12634 bool temp7
= False
;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 PyObject
* obj3
= 0 ;
12638 PyObject
* obj4
= 0 ;
12639 PyObject
* obj6
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12647 arg3
= wxString_in_helper(obj2
);
12648 if (arg3
== NULL
) SWIG_fail
;
12654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12665 arg7
= wxString_in_helper(obj6
);
12666 if (arg7
== NULL
) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12700 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxMDIParentFrame
*result
;
12703 char *kwnames
[] = {
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12722 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
;
12724 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12725 wxWindow
*arg2
= (wxWindow
*) 0 ;
12727 wxString
*arg4
= 0 ;
12728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12732 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12733 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12734 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12736 bool temp4
= False
;
12739 bool temp8
= False
;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 PyObject
* obj3
= 0 ;
12743 PyObject
* obj4
= 0 ;
12744 PyObject
* obj5
= 0 ;
12745 PyObject
* obj7
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12754 arg4
= wxString_in_helper(obj3
);
12755 if (arg4
== NULL
) SWIG_fail
;
12761 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12767 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12772 arg8
= wxString_in_helper(obj7
);
12773 if (arg8
== NULL
) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= PyInt_FromLong((long)result
);
12807 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 (arg1
)->ActivateNext();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 Py_INCREF(Py_None
); resultobj
= Py_None
;
12831 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 (arg1
)->ActivatePrevious();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12855 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 (arg1
)->ArrangeIcons();
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12882 PyObject
* obj0
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12906 wxMDIChildFrame
*result
;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= wxPyMake_wxObject(result
);
12930 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12933 wxMDIClientWindow
*result
;
12934 PyObject
* obj0
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= wxPyMake_wxObject(result
);
12957 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (wxWindow
*)(arg1
)->GetToolBar();
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= wxPyMake_wxObject(result
);
12984 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
12993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 Py_INCREF(Py_None
); resultobj
= Py_None
;
13008 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13011 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13013 return Py_BuildValue((char *)"");
13015 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13019 wxString
*arg3
= 0 ;
13020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13024 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13025 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13027 wxMDIChildFrame
*result
;
13028 bool temp3
= False
;
13031 bool temp7
= False
;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj2
= 0 ;
13034 PyObject
* obj3
= 0 ;
13035 PyObject
* obj4
= 0 ;
13036 PyObject
* obj6
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13044 arg3
= wxString_in_helper(obj2
);
13045 if (arg3
== NULL
) SWIG_fail
;
13051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13057 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13062 arg7
= wxString_in_helper(obj6
);
13063 if (arg7
== NULL
) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= wxPyMake_wxObject(result
);
13099 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxMDIChildFrame
*result
;
13102 char *kwnames
[] = {
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= wxPyMake_wxObject(result
);
13123 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13126 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13128 wxString
*arg4
= 0 ;
13129 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13130 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13131 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13132 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13133 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13134 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13137 bool temp4
= False
;
13140 bool temp8
= False
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 PyObject
* obj3
= 0 ;
13144 PyObject
* obj4
= 0 ;
13145 PyObject
* obj5
= 0 ;
13146 PyObject
* obj7
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13155 arg4
= wxString_in_helper(obj3
);
13156 if (arg4
== NULL
) SWIG_fail
;
13162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13168 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13173 arg8
= wxString_in_helper(obj7
);
13174 if (arg8
== NULL
) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= PyInt_FromLong((long)result
);
13208 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 (arg1
)->Activate();
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 Py_INCREF(Py_None
); resultobj
= Py_None
;
13232 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "maximize", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13244 arg2
= PyInt_AsLong(obj1
) ? true : false;
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->Maximize(arg2
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 Py_INCREF(Py_None
); resultobj
= Py_None
;
13284 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13287 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13289 return Py_BuildValue((char *)"");
13291 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13294 long arg2
= (long) 0 ;
13295 wxMDIClientWindow
*result
;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "parent",(char *) "style", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= wxPyMake_wxObject(result
);
13319 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxMDIClientWindow
*result
;
13322 char *kwnames
[] = {
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= wxPyMake_wxObject(result
);
13343 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13346 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13347 long arg3
= (long) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "parent",(char *) "style", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 resultobj
= PyInt_FromLong((long)result
);
13372 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13375 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13377 return Py_BuildValue((char *)"");
13379 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxWindow
*arg1
= (wxWindow
*) 0 ;
13383 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13384 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13385 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13386 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13387 long arg5
= (long) 0 ;
13388 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13389 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13390 wxPyWindow
*result
;
13393 bool temp6
= False
;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj2
= 0 ;
13396 PyObject
* obj3
= 0 ;
13397 PyObject
* obj5
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13407 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13413 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13418 arg6
= wxString_in_helper(obj5
);
13419 if (arg6
== NULL
) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13445 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13448 PyObject
*arg2
= (PyObject
*) 0 ;
13449 PyObject
*arg3
= (PyObject
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self",(char *) "self",(char *) "_class", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 Py_INCREF(Py_None
); resultobj
= Py_None
;
13475 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 Py_INCREF(Py_None
); resultobj
= Py_None
;
13503 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13510 int arg6
= (int) wxSIZE_AUTO
;
13511 PyObject
* obj0
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 Py_INCREF(Py_None
); resultobj
= Py_None
;
13532 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self",(char *) "width",(char *) "height", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 Py_INCREF(Py_None
); resultobj
= Py_None
;
13558 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "x",(char *) "y", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 Py_INCREF(Py_None
); resultobj
= Py_None
;
13584 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13587 int *arg2
= (int *) 0 ;
13588 int *arg3
= (int *) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 Py_INCREF(Py_None
); resultobj
= Py_None
;
13609 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13610 resultobj
= t_output_helper(resultobj
,o
);
13613 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13614 resultobj
= t_output_helper(resultobj
,o
);
13622 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13625 int *arg2
= (int *) 0 ;
13626 int *arg3
= (int *) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self", NULL
13636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13647 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13648 resultobj
= t_output_helper(resultobj
,o
);
13651 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13652 resultobj
= t_output_helper(resultobj
,o
);
13660 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13663 int *arg2
= (int *) 0 ;
13664 int *arg3
= (int *) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 Py_INCREF(Py_None
); resultobj
= Py_None
;
13685 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13686 resultobj
= t_output_helper(resultobj
,o
);
13689 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13690 resultobj
= t_output_helper(resultobj
,o
);
13698 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 wxSize
* resultptr
;
13718 resultptr
= new wxSize((wxSize
&) result
);
13719 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13727 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
13737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 wxSize
* resultptr
;
13747 resultptr
= new wxSize((wxSize
&) result
);
13748 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13756 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 (arg1
)->base_InitDialog();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 Py_INCREF(Py_None
); resultobj
= Py_None
;
13780 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (bool)(arg1
)->base_TransferDataToWindow();
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= PyInt_FromLong((long)result
);
13805 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 char *kwnames
[] = {
13811 (char *) "self", NULL
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
13815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (bool)(arg1
)->base_TransferDataFromWindow();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= PyInt_FromLong((long)result
);
13830 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (bool)(arg1
)->base_Validate();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= PyInt_FromLong((long)result
);
13855 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= PyInt_FromLong((long)result
);
13880 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= PyInt_FromLong((long)result
);
13905 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13924 wxSize
* resultptr
;
13925 resultptr
= new wxSize((wxSize
&) result
);
13926 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13934 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13937 wxWindow
*arg2
= (wxWindow
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "child", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 (arg1
)->base_AddChild(arg2
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 Py_INCREF(Py_None
); resultobj
= Py_None
;
13961 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13964 wxWindow
*arg2
= (wxWindow
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self",(char *) "child", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 (arg1
)->base_RemoveChild(arg2
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13991 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
13993 return Py_BuildValue((char *)"");
13995 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxWindow
*arg1
= (wxWindow
*) 0 ;
13999 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14000 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14001 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14002 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14003 long arg5
= (long) 0 ;
14004 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14005 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14009 bool temp6
= False
;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj2
= 0 ;
14012 PyObject
* obj3
= 0 ;
14013 PyObject
* obj5
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14034 arg6
= wxString_in_helper(obj5
);
14035 if (arg6
== NULL
) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14061 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14064 PyObject
*arg2
= (PyObject
*) 0 ;
14065 PyObject
*arg3
= (PyObject
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 PyObject
* obj2
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "self",(char *) "_class", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 Py_INCREF(Py_None
); resultobj
= Py_None
;
14091 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14126 int arg6
= (int) wxSIZE_AUTO
;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 Py_INCREF(Py_None
); resultobj
= Py_None
;
14148 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "width",(char *) "height", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 Py_INCREF(Py_None
); resultobj
= Py_None
;
14174 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "x",(char *) "y", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 Py_INCREF(Py_None
); resultobj
= Py_None
;
14200 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14203 int *arg2
= (int *) 0 ;
14204 int *arg3
= (int *) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 Py_INCREF(Py_None
); resultobj
= Py_None
;
14225 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14226 resultobj
= t_output_helper(resultobj
,o
);
14229 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14230 resultobj
= t_output_helper(resultobj
,o
);
14238 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14241 int *arg2
= (int *) 0 ;
14242 int *arg3
= (int *) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14264 resultobj
= t_output_helper(resultobj
,o
);
14267 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14268 resultobj
= t_output_helper(resultobj
,o
);
14276 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14279 int *arg2
= (int *) 0 ;
14280 int *arg3
= (int *) 0 ;
14283 PyObject
* obj0
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "self", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 Py_INCREF(Py_None
); resultobj
= Py_None
;
14301 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14302 resultobj
= t_output_helper(resultobj
,o
);
14305 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14306 resultobj
= t_output_helper(resultobj
,o
);
14314 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14333 wxSize
* resultptr
;
14334 resultptr
= new wxSize((wxSize
&) result
);
14335 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14343 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14362 wxSize
* resultptr
;
14363 resultptr
= new wxSize((wxSize
&) result
);
14364 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14372 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 (arg1
)->base_InitDialog();
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (bool)(arg1
)->base_TransferDataToWindow();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= PyInt_FromLong((long)result
);
14421 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= PyInt_FromLong((long)result
);
14446 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (bool)(arg1
)->base_Validate();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= PyInt_FromLong((long)result
);
14471 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14475 PyObject
* obj0
= 0 ;
14476 char *kwnames
[] = {
14477 (char *) "self", NULL
14480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= PyInt_FromLong((long)result
);
14496 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= PyInt_FromLong((long)result
);
14521 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 wxSize
* resultptr
;
14541 resultptr
= new wxSize((wxSize
&) result
);
14542 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14550 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14553 wxWindow
*arg2
= (wxWindow
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self",(char *) "child", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->base_AddChild(arg2
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 Py_INCREF(Py_None
); resultobj
= Py_None
;
14577 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14580 wxWindow
*arg2
= (wxWindow
*) 0 ;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self",(char *) "child", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->base_RemoveChild(arg2
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14607 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14609 return Py_BuildValue((char *)"");
14611 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxPrintData
*result
;
14614 char *kwnames
[] = {
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (wxPrintData
*)new wxPrintData();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14633 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14636 PyObject
* obj0
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 Py_INCREF(Py_None
); resultobj
= Py_None
;
14657 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (int)(arg1
)->GetNoCopies();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= PyInt_FromLong((long)result
);
14682 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (bool)(arg1
)->GetCollate();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= PyInt_FromLong((long)result
);
14707 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (int)(arg1
)->GetOrientation();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= PyInt_FromLong((long)result
);
14732 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14736 PyObject
* obj0
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "self", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
14742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)(arg1
)->Ok();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= PyInt_FromLong((long)result
);
14757 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
14772 result
= (wxString
*) &_result_ref
;
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14782 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14791 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (bool)(arg1
)->GetColour();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= PyInt_FromLong((long)result
);
14816 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (int)(arg1
)->GetDuplex();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= PyInt_FromLong((long)result
);
14841 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (int)(arg1
)->GetPaperId();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= PyInt_FromLong((long)result
);
14866 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
14881 result
= (wxSize
*) &_result_ref
;
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14894 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14897 wxPrintQuality result
;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (arg1
)->GetQuality();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 wxPrintQuality
* resultptr
;
14914 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
14915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
14923 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self",(char *) "v", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 (arg1
)->SetNoCopies(arg2
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 Py_INCREF(Py_None
); resultobj
= Py_None
;
14948 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14949 PyObject
*resultobj
;
14950 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14952 PyObject
* obj0
= 0 ;
14953 PyObject
* obj1
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self",(char *) "flag", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14960 arg2
= PyInt_AsLong(obj1
) ? true : false;
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 (arg1
)->SetCollate(arg2
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 Py_INCREF(Py_None
); resultobj
= Py_None
;
14976 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "orient", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 (arg1
)->SetOrientation(arg2
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 Py_INCREF(Py_None
); resultobj
= Py_None
;
15001 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15004 wxString
*arg2
= 0 ;
15005 bool temp2
= False
;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self",(char *) "name", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15015 arg2
= wxString_in_helper(obj1
);
15016 if (arg2
== NULL
) SWIG_fail
;
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 Py_INCREF(Py_None
); resultobj
= Py_None
;
15041 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self",(char *) "colour", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15053 arg2
= PyInt_AsLong(obj1
) ? true : false;
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 (arg1
)->SetColour(arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 Py_INCREF(Py_None
); resultobj
= Py_None
;
15069 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self",(char *) "duplex", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 Py_INCREF(Py_None
); resultobj
= Py_None
;
15094 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self",(char *) "sizeId", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 Py_INCREF(Py_None
); resultobj
= Py_None
;
15119 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self",(char *) "sz", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 Py_INCREF(Py_None
); resultobj
= Py_None
;
15150 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15153 wxPrintQuality arg2
;
15154 wxPrintQuality
*argp2
;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self",(char *) "quality", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
15162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15163 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->SetQuality(arg2
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 Py_INCREF(Py_None
); resultobj
= Py_None
;
15179 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15194 result
= (wxString
*) &_result_ref
;
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15213 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15228 result
= (wxString
*) &_result_ref
;
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15238 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15247 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15262 result
= (wxString
*) &_result_ref
;
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15272 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15281 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 wxString
const &_result_ref
= (arg1
)->GetFilename();
15296 result
= (wxString
*) &_result_ref
;
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15306 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15315 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15330 result
= (wxString
*) &_result_ref
;
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15349 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (double)(arg1
)->GetPrinterScaleX();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= PyFloat_FromDouble(result
);
15374 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (double)(arg1
)->GetPrinterScaleY();
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= PyFloat_FromDouble(result
);
15399 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (long)(arg1
)->GetPrinterTranslateX();
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= PyInt_FromLong((long)result
);
15424 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (long)(arg1
)->GetPrinterTranslateY();
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= PyInt_FromLong((long)result
);
15449 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (int)(arg1
)->GetPrintMode();
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= PyInt_FromLong((long)result
);
15474 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15477 wxString
*arg2
= 0 ;
15478 bool temp2
= False
;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "self",(char *) "command", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15488 arg2
= wxString_in_helper(obj1
);
15489 if (arg2
== NULL
) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 Py_INCREF(Py_None
); resultobj
= Py_None
;
15514 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15517 wxString
*arg2
= 0 ;
15518 bool temp2
= False
;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "options", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 arg2
= wxString_in_helper(obj1
);
15529 if (arg2
== NULL
) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 Py_INCREF(Py_None
); resultobj
= Py_None
;
15554 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15557 wxString
*arg2
= 0 ;
15558 bool temp2
= False
;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "command", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15568 arg2
= wxString_in_helper(obj1
);
15569 if (arg2
== NULL
) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 Py_INCREF(Py_None
); resultobj
= Py_None
;
15594 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15597 wxString
*arg2
= 0 ;
15598 bool temp2
= False
;
15599 PyObject
* obj0
= 0 ;
15600 PyObject
* obj1
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self",(char *) "filename", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15608 arg2
= wxString_in_helper(obj1
);
15609 if (arg2
== NULL
) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 (arg1
)->SetFilename((wxString
const &)*arg2
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15634 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15637 wxString
*arg2
= 0 ;
15638 bool temp2
= False
;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "path", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15648 arg2
= wxString_in_helper(obj1
);
15649 if (arg2
== NULL
) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 Py_INCREF(Py_None
); resultobj
= Py_None
;
15674 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "x", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->SetPrinterScaleX(arg2
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 Py_INCREF(Py_None
); resultobj
= Py_None
;
15699 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self",(char *) "y", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
15709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 (arg1
)->SetPrinterScaleY(arg2
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 Py_INCREF(Py_None
); resultobj
= Py_None
;
15724 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self",(char *) "x",(char *) "y", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->SetPrinterScaling(arg2
,arg3
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 Py_INCREF(Py_None
); resultobj
= Py_None
;
15750 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15754 PyObject
* obj0
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "self",(char *) "x", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
15760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 (arg1
)->SetPrinterTranslateX(arg2
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 Py_INCREF(Py_None
); resultobj
= Py_None
;
15775 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self",(char *) "y", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->SetPrinterTranslateY(arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15800 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self",(char *) "x",(char *) "y", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 Py_INCREF(Py_None
); resultobj
= Py_None
;
15826 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self",(char *) "printMode", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 Py_INCREF(Py_None
); resultobj
= Py_None
;
15851 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
15853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15854 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
15856 return Py_BuildValue((char *)"");
15858 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
;
15860 wxPageSetupDialogData
*result
;
15861 char *kwnames
[] = {
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
15880 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 Py_INCREF(Py_None
); resultobj
= Py_None
;
15904 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self",(char *) "flag", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15916 arg2
= PyInt_AsLong(obj1
) ? true : false;
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 (arg1
)->EnableHelp(arg2
);
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 Py_INCREF(Py_None
); resultobj
= Py_None
;
15932 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self",(char *) "flag", NULL
15942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
15943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15944 arg2
= PyInt_AsLong(obj1
) ? true : false;
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 (arg1
)->EnableMargins(arg2
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self",(char *) "flag", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15972 arg2
= PyInt_AsLong(obj1
) ? true : false;
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 (arg1
)->EnableOrientation(arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 Py_INCREF(Py_None
); resultobj
= Py_None
;
15988 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self",(char *) "flag", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16000 arg2
= PyInt_AsLong(obj1
) ? true : false;
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 (arg1
)->EnablePaper(arg2
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "flag", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16028 arg2
= PyInt_AsLong(obj1
) ? true : false;
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 (arg1
)->EnablePrinter(arg2
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 Py_INCREF(Py_None
); resultobj
= Py_None
;
16044 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (bool)(arg1
)->GetDefaultMinMargins();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= PyInt_FromLong((long)result
);
16069 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (bool)(arg1
)->GetEnableMargins();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= PyInt_FromLong((long)result
);
16094 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (bool)(arg1
)->GetEnableOrientation();
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= PyInt_FromLong((long)result
);
16119 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (bool)(arg1
)->GetEnablePaper();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= PyInt_FromLong((long)result
);
16144 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)(arg1
)->GetEnablePrinter();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= PyInt_FromLong((long)result
);
16169 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (bool)(arg1
)->GetEnableHelp();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= PyInt_FromLong((long)result
);
16194 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16198 PyObject
* obj0
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (bool)(arg1
)->GetDefaultInfo();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= PyInt_FromLong((long)result
);
16219 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (arg1
)->GetMarginTopLeft();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 wxPoint
* resultptr
;
16239 resultptr
= new wxPoint((wxPoint
&) result
);
16240 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16248 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= (arg1
)->GetMarginBottomRight();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 wxPoint
* resultptr
;
16268 resultptr
= new wxPoint((wxPoint
&) result
);
16269 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16277 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (arg1
)->GetMinMarginTopLeft();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 wxPoint
* resultptr
;
16297 resultptr
= new wxPoint((wxPoint
&) result
);
16298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16306 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (arg1
)->GetMinMarginBottomRight();
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16325 wxPoint
* resultptr
;
16326 resultptr
= new wxPoint((wxPoint
&) result
);
16327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16335 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(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_GetPaperId",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
= (int)(arg1
)->GetPaperId();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= PyInt_FromLong((long)result
);
16360 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(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_GetPaperSize",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
)->GetPaperSize();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 wxSize
* resultptr
;
16380 resultptr
= new wxSize((wxSize
&) result
);
16381 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16389 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16392 wxPrintData
*result
;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",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();
16403 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16404 result
= (wxPrintData
*) &_result_ref
;
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16417 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (bool)(arg1
)->Ok();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= PyInt_FromLong((long)result
);
16442 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self",(char *) "flag", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16454 arg2
= PyInt_AsLong(obj1
) ? true : false;
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 (arg1
)->SetDefaultInfo(arg2
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 Py_INCREF(Py_None
); resultobj
= Py_None
;
16470 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 PyObject
* obj1
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self",(char *) "flag", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16482 arg2
= PyInt_AsLong(obj1
) ? true : false;
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 (arg1
)->SetDefaultMinMargins(arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16501 wxPoint
*arg2
= 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "pt", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16513 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 Py_INCREF(Py_None
); resultobj
= Py_None
;
16529 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16532 wxPoint
*arg2
= 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "pt", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16563 wxPoint
*arg2
= 0 ;
16565 PyObject
* obj0
= 0 ;
16566 PyObject
* obj1
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self",(char *) "pt", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16594 wxPoint
*arg2
= 0 ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self",(char *) "pt", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 Py_INCREF(Py_None
); resultobj
= Py_None
;
16622 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self",(char *) "id", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 Py_INCREF(Py_None
); resultobj
= Py_None
;
16647 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self",(char *) "size", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16662 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16678 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16681 wxPrintData
*arg2
= 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "printData", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16691 if (arg2
== NULL
) {
16692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
16710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16711 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
16713 return Py_BuildValue((char *)"");
16715 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxWindow
*arg1
= (wxWindow
*) 0 ;
16718 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
16719 wxPageSetupDialog
*result
;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "parent",(char *) "data", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
16745 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16748 wxPageSetupDialogData
*result
;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
16760 result
= (wxPageSetupDialogData
*) &_result_ref
;
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
16773 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (int)(arg1
)->ShowModal();
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= PyInt_FromLong((long)result
);
16798 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
16800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16801 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
16803 return Py_BuildValue((char *)"");
16805 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPrintDialogData
*result
;
16808 char *kwnames
[] = {
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (wxPrintDialogData
*)new wxPrintDialogData();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
16827 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 Py_INCREF(Py_None
); resultobj
= Py_None
;
16851 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
16861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= PyInt_FromLong((long)result
);
16876 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= PyInt_FromLong((long)result
);
16901 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16905 PyObject
* obj0
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "self", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
16911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= PyInt_FromLong((long)result
);
16926 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= PyInt_FromLong((long)result
);
16951 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= PyInt_FromLong((long)result
);
16976 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= PyInt_FromLong((long)result
);
17001 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= PyInt_FromLong((long)result
);
17026 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= PyInt_FromLong((long)result
);
17051 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= PyInt_FromLong((long)result
);
17076 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= PyInt_FromLong((long)result
);
17101 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self",(char *) "v", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 (arg1
)->SetFromPage(arg2
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 Py_INCREF(Py_None
); resultobj
= Py_None
;
17126 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self",(char *) "v", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 (arg1
)->SetToPage(arg2
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 Py_INCREF(Py_None
); resultobj
= Py_None
;
17151 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 char *kwnames
[] = {
17157 (char *) "self",(char *) "v", NULL
17160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->SetMinPage(arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 Py_INCREF(Py_None
); resultobj
= Py_None
;
17176 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17180 PyObject
* obj0
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "v", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 (arg1
)->SetMaxPage(arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 Py_INCREF(Py_None
); resultobj
= Py_None
;
17201 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "v", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 (arg1
)->SetNoCopies(arg2
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 Py_INCREF(Py_None
); resultobj
= Py_None
;
17226 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 PyObject
* obj1
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self",(char *) "flag", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17238 arg2
= PyInt_AsLong(obj1
) ? true : false;
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 (arg1
)->SetAllPages(arg2
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 Py_INCREF(Py_None
); resultobj
= Py_None
;
17254 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self",(char *) "flag", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17266 arg2
= PyInt_AsLong(obj1
) ? true : false;
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 (arg1
)->SetSelection(arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 Py_INCREF(Py_None
); resultobj
= Py_None
;
17282 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "flag", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17294 arg2
= PyInt_AsLong(obj1
) ? true : false;
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->SetCollate(arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "flag", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17322 arg2
= PyInt_AsLong(obj1
) ? true : false;
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 (arg1
)->SetPrintToFile(arg2
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 Py_INCREF(Py_None
); resultobj
= Py_None
;
17338 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self",(char *) "flag", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17350 arg2
= PyInt_AsLong(obj1
) ? true : false;
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 (arg1
)->SetSetupDialog(arg2
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 Py_INCREF(Py_None
); resultobj
= Py_None
;
17366 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self",(char *) "flag", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17378 arg2
= PyInt_AsLong(obj1
) ? true : false;
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 (arg1
)->EnablePrintToFile(arg2
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 Py_INCREF(Py_None
); resultobj
= Py_None
;
17394 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self",(char *) "flag", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17406 arg2
= PyInt_AsLong(obj1
) ? true : false;
17407 if (PyErr_Occurred()) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 (arg1
)->EnableSelection(arg2
);
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 Py_INCREF(Py_None
); resultobj
= Py_None
;
17422 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self",(char *) "flag", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17434 arg2
= PyInt_AsLong(obj1
) ? true : false;
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 (arg1
)->EnablePageNumbers(arg2
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17450 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self",(char *) "flag", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17462 arg2
= PyInt_AsLong(obj1
) ? true : false;
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 (arg1
)->EnableHelp(arg2
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 Py_INCREF(Py_None
); resultobj
= Py_None
;
17478 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= PyInt_FromLong((long)result
);
17503 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= PyInt_FromLong((long)result
);
17528 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= PyInt_FromLong((long)result
);
17553 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= PyInt_FromLong((long)result
);
17578 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= PyInt_FromLong((long)result
);
17603 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17606 wxPrintData
*result
;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17618 result
= (wxPrintData
*) &_result_ref
;
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17631 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17634 wxPrintData
*arg2
= 0 ;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self",(char *) "printData", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 if (arg2
== NULL
) {
17645 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17664 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17666 return Py_BuildValue((char *)"");
17668 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxWindow
*arg1
= (wxWindow
*) 0 ;
17671 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17672 wxPrintDialog
*result
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "parent",(char *) "data", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
17698 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17701 wxPrintDialogData
*result
;
17702 PyObject
* obj0
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "self", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17713 result
= (wxPrintDialogData
*) &_result_ref
;
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17726 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (wxDC
*)(arg1
)->GetPrintDC();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= wxPyMake_wxObject(result
);
17753 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17757 PyObject
* obj0
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (int)(arg1
)->ShowModal();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= PyInt_FromLong((long)result
);
17778 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17781 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
17783 return Py_BuildValue((char *)"");
17785 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "data", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (wxPrinter
*)new wxPrinter(arg1
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
17812 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17815 PyObject
* obj0
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 Py_INCREF(Py_None
); resultobj
= Py_None
;
17836 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17839 wxWindow
*arg2
= (wxWindow
*) 0 ;
17840 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "parent",(char *) "printout", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17851 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 (arg1
)->CreateAbortWindow(arg2
,arg3
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 Py_INCREF(Py_None
); resultobj
= Py_None
;
17866 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17869 wxPrintDialogData
*result
;
17870 PyObject
* obj0
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17881 result
= (wxPrintDialogData
*) &_result_ref
;
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17894 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17897 wxWindow
*arg2
= (wxWindow
*) 0 ;
17898 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17899 int arg4
= (int) True
;
17901 PyObject
* obj0
= 0 ;
17902 PyObject
* obj1
= 0 ;
17903 PyObject
* obj2
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17910 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= PyInt_FromLong((long)result
);
17926 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17929 wxWindow
*arg2
= (wxWindow
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 PyObject
* obj1
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self",(char *) "parent", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17939 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= wxPyMake_wxObject(result
);
17956 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17959 wxWindow
*arg2
= (wxWindow
*) 0 ;
17960 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17961 wxString
*arg4
= 0 ;
17962 bool temp4
= False
;
17963 PyObject
* obj0
= 0 ;
17964 PyObject
* obj1
= 0 ;
17965 PyObject
* obj2
= 0 ;
17966 PyObject
* obj3
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17974 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17976 arg4
= wxString_in_helper(obj3
);
17977 if (arg4
== NULL
) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18005 wxWindow
*arg2
= (wxWindow
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "parent", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (bool)(arg1
)->Setup(arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= PyInt_FromLong((long)result
);
18030 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (bool)(arg1
)->GetAbort();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= PyInt_FromLong((long)result
);
18055 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18058 char *kwnames
[] = {
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (int)wxPrinter::GetLastError();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= PyInt_FromLong((long)result
);
18077 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18080 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18082 return Py_BuildValue((char *)"");
18084 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18087 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18088 wxPyPrintout
*result
;
18089 bool temp1
= False
;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "title", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18098 arg1
= wxString_in_helper(obj0
);
18099 if (arg1
== NULL
) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= wxPyMake_wxObject(result
);
18127 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18130 PyObject
*arg2
= (PyObject
*) 0 ;
18131 PyObject
*arg3
= (PyObject
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 PyObject
* obj1
= 0 ;
18134 PyObject
* obj2
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self",(char *) "self",(char *) "_class", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 Py_INCREF(Py_None
); resultobj
= Py_None
;
18157 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18161 PyObject
* obj0
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18188 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (wxDC
*)(arg1
)->GetDC();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= wxPyMake_wxObject(result
);
18215 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18218 wxDC
*arg2
= (wxDC
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "dc", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->SetDC(arg2
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "w",(char *) "h", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18271 int *arg2
= (int *) 0 ;
18272 int *arg3
= (int *) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 Py_INCREF(Py_None
); resultobj
= Py_None
;
18293 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18294 resultobj
= t_output_helper(resultobj
,o
);
18297 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18298 resultobj
= t_output_helper(resultobj
,o
);
18306 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self",(char *) "w",(char *) "h", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 Py_INCREF(Py_None
); resultobj
= Py_None
;
18332 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18335 int *arg2
= (int *) 0 ;
18336 int *arg3
= (int *) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 Py_INCREF(Py_None
); resultobj
= Py_None
;
18357 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18358 resultobj
= t_output_helper(resultobj
,o
);
18361 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18362 resultobj
= t_output_helper(resultobj
,o
);
18370 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "x",(char *) "y", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->SetPPIScreen(arg2
,arg3
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 Py_INCREF(Py_None
); resultobj
= Py_None
;
18396 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18399 int *arg2
= (int *) 0 ;
18400 int *arg3
= (int *) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->GetPPIScreen(arg2
,arg3
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18421 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18422 resultobj
= t_output_helper(resultobj
,o
);
18425 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18426 resultobj
= t_output_helper(resultobj
,o
);
18434 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18439 PyObject
* obj0
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "x",(char *) "y", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 Py_INCREF(Py_None
); resultobj
= Py_None
;
18460 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18463 int *arg2
= (int *) 0 ;
18464 int *arg3
= (int *) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 Py_INCREF(Py_None
); resultobj
= Py_None
;
18485 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18486 resultobj
= t_output_helper(resultobj
,o
);
18489 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18490 resultobj
= t_output_helper(resultobj
,o
);
18498 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 result
= (bool)(arg1
)->IsPreview();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= PyInt_FromLong((long)result
);
18523 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self",(char *) "p", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18535 arg2
= PyInt_AsLong(obj1
) ? true : false;
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 (arg1
)->SetIsPreview(arg2
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 Py_INCREF(Py_None
); resultobj
= Py_None
;
18551 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= PyInt_FromLong((long)result
);
18578 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 (arg1
)->base_OnEndDocument();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 Py_INCREF(Py_None
); resultobj
= Py_None
;
18602 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->base_OnBeginPrinting();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 Py_INCREF(Py_None
); resultobj
= Py_None
;
18626 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->base_OnEndPrinting();
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 Py_INCREF(Py_None
); resultobj
= Py_None
;
18650 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->base_OnPreparePrinting();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self",(char *) "page", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (bool)(arg1
)->base_HasPage(arg2
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= PyInt_FromLong((long)result
);
18700 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18703 int *arg2
= (int *) 0 ;
18704 int *arg3
= (int *) 0 ;
18705 int *arg4
= (int *) 0 ;
18706 int *arg5
= (int *) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 Py_INCREF(Py_None
); resultobj
= Py_None
;
18731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18732 resultobj
= t_output_helper(resultobj
,o
);
18735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18736 resultobj
= t_output_helper(resultobj
,o
);
18739 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
18740 resultobj
= t_output_helper(resultobj
,o
);
18743 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
18744 resultobj
= t_output_helper(resultobj
,o
);
18752 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
18754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18755 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
18757 return Py_BuildValue((char *)"");
18759 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18762 wxWindow
*arg2
= (wxWindow
*) 0 ;
18763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18767 long arg5
= (long) 0 ;
18768 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
18769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18770 wxPreviewCanvas
*result
;
18773 bool temp6
= False
;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 PyObject
* obj2
= 0 ;
18777 PyObject
* obj3
= 0 ;
18778 PyObject
* obj5
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18795 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18800 arg6
= wxString_in_helper(obj5
);
18801 if (arg6
== NULL
) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
18827 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
18829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18830 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
18832 return Py_BuildValue((char *)"");
18834 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18837 wxFrame
*arg2
= (wxFrame
*) 0 ;
18838 wxString
*arg3
= 0 ;
18839 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18840 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18841 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18842 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18843 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
18844 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
18845 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18846 wxPreviewFrame
*result
;
18847 bool temp3
= False
;
18850 bool temp7
= False
;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 PyObject
* obj2
= 0 ;
18854 PyObject
* obj3
= 0 ;
18855 PyObject
* obj4
= 0 ;
18856 PyObject
* obj6
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18865 arg3
= wxString_in_helper(obj2
);
18866 if (arg3
== NULL
) SWIG_fail
;
18872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18883 arg7
= wxString_in_helper(obj6
);
18884 if (arg7
== NULL
) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
18918 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 (arg1
)->Initialize();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 Py_INCREF(Py_None
); resultobj
= Py_None
;
18942 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 (arg1
)->CreateControlBar();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 Py_INCREF(Py_None
); resultobj
= Py_None
;
18966 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 (arg1
)->CreateCanvas();
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 Py_INCREF(Py_None
); resultobj
= Py_None
;
18990 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18993 wxPreviewControlBar
*result
;
18994 PyObject
* obj0
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19015 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19018 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19020 return Py_BuildValue((char *)"");
19022 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19026 wxWindow
*arg3
= (wxWindow
*) 0 ;
19027 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19028 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19029 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19030 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19031 long arg6
= (long) wxTAB_TRAVERSAL
;
19032 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19033 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19034 wxPreviewControlBar
*result
;
19037 bool temp7
= False
;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj2
= 0 ;
19040 PyObject
* obj3
= 0 ;
19041 PyObject
* obj4
= 0 ;
19042 PyObject
* obj6
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19049 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19053 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19059 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19064 arg7
= wxString_in_helper(obj6
);
19065 if (arg7
== NULL
) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19091 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (int)(arg1
)->GetZoomControl();
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= PyInt_FromLong((long)result
);
19116 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self",(char *) "zoom", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 (arg1
)->SetZoomControl(arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 Py_INCREF(Py_None
); resultobj
= Py_None
;
19141 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19144 wxPrintPreview
*result
;
19145 PyObject
* obj0
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19166 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->OnPrevious();
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 Py_INCREF(Py_None
); resultobj
= Py_None
;
19238 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 Py_INCREF(Py_None
); resultobj
= Py_None
;
19262 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19289 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19291 return Py_BuildValue((char *)"");
19293 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19296 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19297 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19298 wxPrintPreview
*result
;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 PyObject
* obj2
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19310 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19326 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self",(char *) "pageNum", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= PyInt_FromLong((long)result
);
19352 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (int)(arg1
)->GetCurrentPage();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= PyInt_FromLong((long)result
);
19377 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19380 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self",(char *) "printout", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->SetPrintout(arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 Py_INCREF(Py_None
); resultobj
= Py_None
;
19404 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19407 wxPyPrintout
*result
;
19408 PyObject
* obj0
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= wxPyMake_wxObject(result
);
19431 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19434 wxPyPrintout
*result
;
19435 PyObject
* obj0
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= wxPyMake_wxObject(result
);
19458 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19461 wxFrame
*arg2
= (wxFrame
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self",(char *) "frame", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 (arg1
)->SetFrame(arg2
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 Py_INCREF(Py_None
); resultobj
= Py_None
;
19485 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19488 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19489 PyObject
* obj0
= 0 ;
19490 PyObject
* obj1
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self",(char *) "canvas", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 (arg1
)->SetCanvas(arg2
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 Py_INCREF(Py_None
); resultobj
= Py_None
;
19512 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (wxFrame
*)(arg1
)->GetFrame();
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= wxPyMake_wxObject(result
);
19539 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19542 wxPreviewCanvas
*result
;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19564 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19567 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19580 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 if (arg3
== NULL
) {
19582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= PyInt_FromLong((long)result
);
19598 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19601 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 PyObject
* obj2
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19614 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19615 if (arg3
== NULL
) {
19616 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= PyInt_FromLong((long)result
);
19632 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self",(char *) "pageNum", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (bool)(arg1
)->RenderPage(arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= PyInt_FromLong((long)result
);
19658 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19661 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 PyObject
* obj1
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self",(char *) "canvas", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 (arg1
)->AdjustScrollbars(arg2
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 Py_INCREF(Py_None
); resultobj
= Py_None
;
19685 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19688 wxPrintDialogData
*result
;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19700 result
= (wxPrintDialogData
*) &_result_ref
;
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19713 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "percent", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 (arg1
)->SetZoom(arg2
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 Py_INCREF(Py_None
); resultobj
= Py_None
;
19738 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (int)(arg1
)->GetZoom();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= PyInt_FromLong((long)result
);
19763 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (int)(arg1
)->GetMaxPage();
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= PyInt_FromLong((long)result
);
19788 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (int)(arg1
)->GetMinPage();
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= PyInt_FromLong((long)result
);
19813 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (bool)(arg1
)->Ok();
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= PyInt_FromLong((long)result
);
19838 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self",(char *) "ok", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
19849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19850 arg2
= PyInt_AsLong(obj1
) ? true : false;
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 (arg1
)->SetOk(arg2
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 Py_INCREF(Py_None
); resultobj
= Py_None
;
19866 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self",(char *) "interactive", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19879 arg2
= PyInt_AsLong(obj1
) ? true : false;
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->Print(arg2
);
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= PyInt_FromLong((long)result
);
19895 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
19904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 (arg1
)->DetermineScaling();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 Py_INCREF(Py_None
); resultobj
= Py_None
;
19919 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
19921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19922 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
19924 return Py_BuildValue((char *)"");
19926 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19929 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19930 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19931 wxPyPrintPreview
*result
;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 PyObject
* obj2
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19943 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
19959 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19962 PyObject
*arg2
= (PyObject
*) 0 ;
19963 PyObject
*arg3
= (PyObject
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 PyObject
* obj2
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "self",(char *) "_class", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 Py_INCREF(Py_None
); resultobj
= Py_None
;
19989 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "pageNum", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= PyInt_FromLong((long)result
);
20015 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20018 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 PyObject
* obj1
= 0 ;
20023 PyObject
* obj2
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20031 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20032 if (arg3
== NULL
) {
20033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= PyInt_FromLong((long)result
);
20049 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20052 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 PyObject
* obj2
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20066 if (arg3
== NULL
) {
20067 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= PyInt_FromLong((long)result
);
20083 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self",(char *) "pageNum", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= PyInt_FromLong((long)result
);
20109 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "percent", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 (arg1
)->base_SetZoom(arg2
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 Py_INCREF(Py_None
); resultobj
= Py_None
;
20134 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self",(char *) "interactive", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20147 arg2
= PyInt_AsLong(obj1
) ? true : false;
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (bool)(arg1
)->base_Print(arg2
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= PyInt_FromLong((long)result
);
20163 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 (arg1
)->base_DetermineScaling();
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20180 Py_INCREF(Py_None
); resultobj
= Py_None
;
20187 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20190 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20192 return Py_BuildValue((char *)"");
20194 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20197 wxFrame
*arg2
= (wxFrame
*) 0 ;
20198 wxString
*arg3
= 0 ;
20199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20203 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20204 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20206 wxPyPreviewFrame
*result
;
20207 bool temp3
= False
;
20210 bool temp7
= False
;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 PyObject
* obj2
= 0 ;
20214 PyObject
* obj3
= 0 ;
20215 PyObject
* obj4
= 0 ;
20216 PyObject
* obj6
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20223 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20225 arg3
= wxString_in_helper(obj2
);
20226 if (arg3
== NULL
) SWIG_fail
;
20232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20243 arg7
= wxString_in_helper(obj6
);
20244 if (arg7
== NULL
) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20278 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20281 PyObject
*arg2
= (PyObject
*) 0 ;
20282 PyObject
*arg3
= (PyObject
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 PyObject
* obj2
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "self",(char *) "_class", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 Py_INCREF(Py_None
); resultobj
= Py_None
;
20308 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20311 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "canvas", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 (arg1
)->SetPreviewCanvas(arg2
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 Py_INCREF(Py_None
); resultobj
= Py_None
;
20335 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20338 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "bar", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 (arg1
)->SetControlBar(arg2
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20365 PyObject
* obj0
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 (arg1
)->base_Initialize();
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 Py_INCREF(Py_None
); resultobj
= Py_None
;
20386 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->base_CreateCanvas();
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20413 PyObject
* obj0
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 (arg1
)->base_CreateControlBar();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 Py_INCREF(Py_None
); resultobj
= Py_None
;
20434 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20437 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20439 return Py_BuildValue((char *)"");
20441 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20445 wxWindow
*arg3
= (wxWindow
*) 0 ;
20446 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20447 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20448 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20449 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20450 long arg6
= (long) 0 ;
20451 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20452 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20453 wxPyPreviewControlBar
*result
;
20456 bool temp7
= False
;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj2
= 0 ;
20459 PyObject
* obj3
= 0 ;
20460 PyObject
* obj4
= 0 ;
20461 PyObject
* obj6
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20468 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20483 arg7
= wxString_in_helper(obj6
);
20484 if (arg7
== NULL
) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20510 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20513 PyObject
*arg2
= (PyObject
*) 0 ;
20514 PyObject
*arg3
= (PyObject
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 PyObject
* obj2
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self",(char *) "self",(char *) "_class", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 Py_INCREF(Py_None
); resultobj
= Py_None
;
20540 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20543 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 PyObject
* obj1
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "self",(char *) "preview", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 (arg1
)->SetPrintPreview(arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 Py_INCREF(Py_None
); resultobj
= Py_None
;
20567 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 (arg1
)->base_CreateButtons();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self",(char *) "zoom", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->base_SetZoomControl(arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 Py_INCREF(Py_None
); resultobj
= Py_None
;
20616 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20619 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20621 return Py_BuildValue((char *)"");
20623 static PyMethodDef SwigMethods
[] = {
20624 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20625 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20626 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20627 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20628 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20629 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20630 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20631 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20632 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20633 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20634 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20635 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20636 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20637 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20638 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20639 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20640 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20641 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20642 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20643 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20644 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20645 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20646 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20647 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20648 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20649 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20650 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20651 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20652 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20653 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20654 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20655 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20656 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20657 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20658 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20659 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20660 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20661 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20662 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20663 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20664 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20665 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20666 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20667 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
20668 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
20669 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20670 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20671 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
20672 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20673 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20674 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20675 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20676 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20677 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20678 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20679 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20680 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20681 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20682 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20683 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20684 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
20685 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
20686 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
20687 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
20688 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
20689 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
20690 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20691 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20692 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
20693 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
20694 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
20695 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
20696 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20697 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
20698 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
20699 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
20700 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20701 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20702 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20703 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
20704 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
20705 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20706 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20707 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
20708 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
20709 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
20710 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20711 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
20712 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
20713 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20714 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20715 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
20716 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20717 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20718 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20719 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20720 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20721 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20722 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20723 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
20724 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
20725 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
20726 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
20727 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
20728 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20729 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20730 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20731 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
20732 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
20733 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20734 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20735 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
20736 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
20737 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
20738 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
20739 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
20740 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
20741 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20742 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20743 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20744 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20745 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20746 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20747 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20748 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20749 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20750 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20751 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20752 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20753 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
20754 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
20755 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20756 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20757 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
20758 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
20759 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
20760 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
20761 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20762 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20763 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20764 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20765 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20766 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
20767 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
20768 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
20769 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20770 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20771 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20772 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20773 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20774 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20775 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20776 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20777 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20778 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20779 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20780 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20781 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20782 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20783 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
20784 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
20785 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20786 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20787 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20788 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20789 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20790 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20791 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
20792 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
20793 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20794 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20795 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20796 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20797 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
20798 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
20799 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20800 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20801 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20802 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20803 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
20804 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
20805 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20806 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20807 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
20808 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
20809 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
20810 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20811 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20812 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20813 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20814 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20815 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20816 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
20817 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20818 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
20819 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20820 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20821 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
20822 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
20823 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20824 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
20825 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20826 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20827 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20828 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
20829 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
20830 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20831 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20832 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20833 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
20834 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
20835 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
20836 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
20837 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
20838 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
20839 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
20840 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20841 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20842 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20843 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20844 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20845 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
20846 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
20847 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
20848 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
20849 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
20850 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
20851 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
20852 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20853 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20854 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20855 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20856 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
20857 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
20858 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
20859 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
20860 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20861 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20862 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20863 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
20864 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20865 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
20866 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
20867 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
20868 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
20869 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
20870 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20871 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20872 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20873 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
20874 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20875 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
20876 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
20877 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
20878 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
20879 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
20880 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20881 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
20882 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20883 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
20884 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20885 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20886 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20887 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20888 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20889 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20890 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
20891 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20892 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20893 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
20894 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
20895 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20896 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
20897 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
20898 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
20899 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
20900 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
20901 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20902 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20903 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20904 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20905 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20906 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20907 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20908 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20909 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
20910 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
20911 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
20912 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20913 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
20914 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
20915 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20916 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20917 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20918 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20919 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20920 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20921 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
20922 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
20923 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20924 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20925 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20926 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20927 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20928 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20929 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
20930 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20931 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20932 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20933 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20934 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20935 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20936 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
20937 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
20938 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
20939 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
20940 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20941 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
20942 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
20943 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
20944 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20945 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20946 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
20947 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20948 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20949 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
20950 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
20951 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
20952 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
20953 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20954 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
20955 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
20956 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
20957 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
20958 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
20959 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20960 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
20962 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
20964 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
20966 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
20968 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
20970 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
20971 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
20972 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
20973 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
20975 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
20976 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20977 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
20978 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
20979 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
20981 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
20982 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
20983 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20984 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20985 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20986 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
20987 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20988 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20989 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20990 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
20991 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
20992 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
20993 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20994 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20995 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20996 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20997 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20998 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20999 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21000 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21001 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21002 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21003 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21004 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21005 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21006 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21007 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21008 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21009 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21010 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21011 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21012 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21013 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21014 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21015 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21016 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21017 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21018 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21019 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21020 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21021 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21022 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21023 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21024 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21025 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21026 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21027 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21028 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21029 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21030 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21031 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21032 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21033 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21034 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21035 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21036 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21037 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21038 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21039 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21040 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21041 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21042 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21043 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21044 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21045 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21048 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21049 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21050 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21051 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21053 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21054 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21055 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21057 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21060 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21063 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21064 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21065 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21069 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21071 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21072 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21113 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21115 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21134 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21147 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21151 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21185 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21190 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21201 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21224 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21226 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21232 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21242 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21266 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21272 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21276 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21284 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21294 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21296 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21297 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21302 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21303 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21305 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21306 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21308 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21309 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21311 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21312 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21314 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21315 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21317 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21318 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21321 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21323 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21324 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21326 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21329 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21330 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21332 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21335 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21336 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21338 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21339 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21341 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21342 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21344 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21345 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21347 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21348 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21350 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21351 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21353 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21354 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21356 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21357 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21359 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21360 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21362 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21363 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21365 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21366 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21368 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21371 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21372 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21374 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21375 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21377 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21378 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21380 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21381 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21383 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21384 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21386 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21387 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21389 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21392 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21393 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21395 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21396 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21398 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21399 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21401 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21402 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21404 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21407 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21408 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21410 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21411 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21413 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21414 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21416 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21417 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21419 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21420 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21422 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21423 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21425 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21428 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21431 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21434 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21435 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21437 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21438 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21440 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21441 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21443 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21444 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21446 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21449 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21452 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21455 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21458 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21461 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21464 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21467 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21468 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21470 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21471 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21473 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21476 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21479 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21482 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21483 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21485 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21488 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21489 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21491 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21492 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21494 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21495 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21497 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21498 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21500 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21503 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21506 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21509 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21510 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21512 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21515 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21518 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21521 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21522 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21524 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21527 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21528 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21530 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21533 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21536 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21539 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21542 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21545 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21546 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21548 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21551 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21554 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21557 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21560 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21563 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21566 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21569 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21572 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21573 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21575 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21576 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21578 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21579 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21581 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21582 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21584 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21585 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21587 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21588 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21590 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21591 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21593 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21594 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21596 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21597 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21599 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21600 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21602 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21605 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21608 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21609 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21611 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21612 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21614 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21617 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21618 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21620 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21621 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21623 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21624 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21626 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21627 return (void *)((wxObject
*) ((wxSizer
*) x
));
21629 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21630 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21632 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21633 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21635 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21638 static void *_p_wxEventTo_p_wxObject(void *x
) {
21639 return (void *)((wxObject
*) ((wxEvent
*) x
));
21641 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21642 return (void *)((wxObject
*) ((wxFontData
*) x
));
21644 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21645 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21647 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21648 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21650 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21651 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21653 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21654 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21656 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21657 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21659 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21660 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21662 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21665 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21666 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21668 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21669 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21671 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21672 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21674 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21675 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21677 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21678 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21680 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21681 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21683 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21686 static void *_p_wxControlTo_p_wxObject(void *x
) {
21687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21689 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21690 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21692 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21693 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21695 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21696 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21698 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21699 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21701 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21702 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21704 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21707 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21708 return (void *)((wxObject
*) ((wxColourData
*) x
));
21710 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21711 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21713 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21714 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21716 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21719 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21722 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21725 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21728 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21731 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21734 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21737 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21740 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21743 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21744 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21746 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21747 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21749 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21750 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21752 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21753 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21755 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21758 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21759 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21761 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21762 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21764 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21765 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21767 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21768 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21770 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21771 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21773 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21774 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21776 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21779 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21782 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21783 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21785 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21786 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21788 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21789 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21791 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21792 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21794 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21795 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21797 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21798 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21800 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21801 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21803 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21806 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21807 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21809 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21812 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21813 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21815 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21816 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21818 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21821 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21824 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21825 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21827 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21830 static void *_p_wxImageTo_p_wxObject(void *x
) {
21831 return (void *)((wxObject
*) ((wxImage
*) x
));
21833 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21836 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21837 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21839 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21840 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21842 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21843 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21845 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21848 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21851 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21854 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21855 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21857 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21858 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21860 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21861 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21863 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21864 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21866 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21869 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21872 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21875 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21878 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21881 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21884 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21887 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21890 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21893 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21896 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21899 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21902 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21905 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21906 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21908 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21909 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21911 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21914 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21917 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21920 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21923 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21926 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21929 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21932 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21933 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21935 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21938 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21939 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21941 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21942 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21944 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21945 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21947 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21948 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21950 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21951 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21953 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21956 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21957 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21959 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21962 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21965 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21966 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21968 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21969 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21971 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21974 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21977 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21978 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21980 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21981 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21983 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21986 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21987 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21989 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
21990 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21992 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
21993 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21995 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
21996 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21998 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
21999 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22001 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22002 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22004 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22005 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22007 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22008 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22010 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22011 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22013 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22014 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22016 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22017 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22019 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22020 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22022 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22023 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22025 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22026 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22028 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22029 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22031 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22032 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22034 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22035 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22037 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22038 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22040 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22041 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22043 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22044 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22046 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22047 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22049 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22050 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22052 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22053 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22055 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22056 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22058 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22059 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22061 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22062 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22064 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22065 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22067 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22068 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22070 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22071 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22073 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22074 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22076 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22077 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22079 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22082 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22085 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22086 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22088 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22089 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22091 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22094 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22095 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22097 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22098 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22100 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22101 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22103 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22104 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22106 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22107 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22109 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22110 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22112 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22113 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22115 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22116 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22118 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22119 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22121 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22122 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22124 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22125 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22127 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22128 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22130 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22131 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22133 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22134 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22136 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22137 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22139 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22140 return (void *)((wxWindow
*) ((wxControl
*) x
));
22142 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22145 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22148 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22149 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22151 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22152 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22154 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22155 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22157 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22158 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22160 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22161 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22163 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22164 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22166 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22167 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22169 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22170 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22172 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22173 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22175 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22178 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22181 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22182 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22184 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22185 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22187 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22188 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22190 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22191 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22193 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22194 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22196 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22197 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22199 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22200 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22202 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22203 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22205 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22206 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22208 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22209 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22211 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22212 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22214 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22215 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22217 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22218 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22220 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22221 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22223 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22224 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22226 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22227 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22229 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22230 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22232 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22233 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22235 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22236 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22238 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22239 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22241 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22242 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22244 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22245 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22247 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22248 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22250 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22251 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22253 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22254 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22256 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22257 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22259 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22260 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22262 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22263 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22265 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22266 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22268 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22269 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22271 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22272 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22274 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22275 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22277 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22278 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22280 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22281 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22283 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22284 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22286 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22287 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22289 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22290 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22292 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22293 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22295 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22296 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22297 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22298 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22299 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22300 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22301 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22302 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}};
22303 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22304 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22305 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22306 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22307 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22308 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22309 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22310 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22311 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22312 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22313 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22314 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22315 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22316 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22317 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22318 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22319 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22320 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22321 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22322 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22323 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22324 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22325 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22326 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22327 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22328 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22329 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22330 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}};
22331 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22332 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22333 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22334 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22335 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22336 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}};
22337 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22338 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22339 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22340 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22341 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22342 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22343 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}};
22344 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22345 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22346 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22347 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22348 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22349 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}};
22350 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22351 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}};
22352 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22353 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}};
22354 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}};
22355 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22356 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22357 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22358 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22359 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22360 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22361 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22362 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22363 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22364 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22365 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22366 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}};
22367 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}};
22368 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22369 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22370 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}};
22371 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22372 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22373 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22374 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22375 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22376 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22377 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22379 static swig_type_info
*swig_types_initial
[] = {
22380 _swigt__p_wxQueryLayoutInfoEvent
,
22381 _swigt__p_wxPreviewFrame
,
22382 _swigt__p_wxPyPreviewFrame
,
22383 _swigt__p_wxPyPanel
,
22385 _swigt__p_wxPrintData
,
22386 _swigt__p_wxFontData
,
22388 _swigt__p_wxTaskBarIcon
,
22389 _swigt__p_wxIconBundle
,
22390 _swigt__p_wxLayoutAlgorithm
,
22391 _swigt__p_wxFindDialogEvent
,
22392 _swigt__p_wxPreviewCanvas
,
22394 _swigt__p_wxSplitterEvent
,
22395 _swigt__p_wxRegion
,
22396 _swigt__p_wxFindReplaceData
,
22401 _swigt__p_wxMDIChildFrame
,
22402 _swigt__p_wxColourData
,
22403 _swigt__p_wxNotifyEvent
,
22404 _swigt__p_wxPyWindow
,
22405 _swigt__p_wxSplashScreen
,
22406 _swigt__p_wxFindReplaceDialog
,
22407 _swigt__p_wxProgressDialog
,
22408 _swigt__p_wxMessageDialog
,
22409 _swigt__p_wxTextEntryDialog
,
22410 _swigt__p_wxSingleChoiceDialog
,
22411 _swigt__p_wxMultiChoiceDialog
,
22412 _swigt__p_wxFileDialog
,
22413 _swigt__p_wxPrinter
,
22414 _swigt__p_wxArrayInt
,
22415 _swigt__p_wxEvtHandler
,
22416 _swigt__p_wxCalculateLayoutEvent
,
22417 _swigt__p_wxPyHtmlListBox
,
22418 _swigt__p_wxPyVListBox
,
22420 _swigt__p_wxMiniFrame
,
22422 _swigt__p_wxPyPrintout
,
22423 _swigt__p_wxTaskBarIconEvent
,
22424 _swigt__p_wxScrollWinEvent
,
22425 _swigt__p_wxStatusBar
,
22426 _swigt__p_wxMDIParentFrame
,
22428 _swigt__p_wxObject
,
22429 _swigt__p_unsigned_long
,
22430 _swigt__p_wxMDIClientWindow
,
22431 _swigt__p_wxTipWindow
,
22432 _swigt__p_wxSashLayoutWindow
,
22433 _swigt__p_wxSplitterWindow
,
22434 _swigt__p_wxPyVScrolledWindow
,
22435 _swigt__p_wxPyPopupTransientWindow
,
22436 _swigt__p_wxPopupWindow
,
22437 _swigt__p_wxSashWindow
,
22438 _swigt__p_wxTopLevelWindow
,
22439 _swigt__p_wxWindow
,
22440 _swigt__p_wxScrolledWindow
,
22441 _swigt__p_wxSplashScreenWindow
,
22442 _swigt__p_wxMenuBar
,
22443 _swigt__p_wxPrintPreview
,
22444 _swigt__p_wxSashEvent
,
22445 _swigt__p_wxString
,
22446 _swigt__p_wxPyPrintPreview
,
22447 _swigt__p_wxPageSetupDialog
,
22448 _swigt__p_wxFontDialog
,
22449 _swigt__p_wxDirDialog
,
22450 _swigt__p_wxColourDialog
,
22451 _swigt__p_wxDialog
,
22453 _swigt__p_wxPrintDialog
,
22454 _swigt__p_wxBitmap
,
22455 _swigt__p_wxCommandEvent
,
22456 _swigt__p_wxPrintQuality
,
22457 _swigt__p_wxPreviewControlBar
,
22458 _swigt__p_wxPyPreviewControlBar
,
22459 _swigt__p_wxColour
,
22460 _swigt__p_wxToolBar
,
22461 _swigt__p_wxPageSetupDialogData
,
22462 _swigt__p_wxPrintDialogData
,
22467 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22469 static swig_const_info swig_const_table
[] = {
22470 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22471 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22472 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22473 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22474 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22475 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22476 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22477 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22478 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22479 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22480 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22481 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22482 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22483 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22484 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22485 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22486 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22487 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22488 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22489 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22490 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22491 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22492 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22493 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22494 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22495 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22496 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22497 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22498 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22499 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22500 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22501 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22502 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22503 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22504 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22505 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22506 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22507 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22508 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22509 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22510 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22511 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22512 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22513 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22514 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22515 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22516 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22517 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22518 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22519 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22520 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22521 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22522 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22523 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22524 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22525 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22526 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22527 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22528 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22529 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22530 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22531 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22532 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22533 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22534 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22535 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22536 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22537 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22538 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22539 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22540 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22541 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22542 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22543 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22544 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22545 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22546 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22547 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22548 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22549 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22550 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22551 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22552 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22553 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22554 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22555 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22556 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22557 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22558 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22559 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22560 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22561 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22562 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22563 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22564 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22565 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22566 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22567 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22568 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22569 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22570 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22571 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22572 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22573 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22574 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22575 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22576 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22577 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22578 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22588 SWIGEXPORT(void) SWIG_init(void) {
22589 static PyObject
*SWIG_globals
= 0;
22590 static int typeinit
= 0;
22593 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22594 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22595 d
= PyModule_GetDict(m
);
22598 for (i
= 0; swig_types_initial
[i
]; i
++) {
22599 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22603 SWIG_InstallConstants(d
,swig_const_table
);
22605 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22606 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22607 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22608 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22609 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22610 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22611 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22613 // Map renamed classes back to their common name for OOR
22614 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22615 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22616 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22618 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22619 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22620 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22621 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22622 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22623 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22624 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22625 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22626 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22627 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22628 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22629 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22631 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");