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
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
215 #define SWIGTYPE_p_wxPyPanel swig_types[3]
216 #define SWIGTYPE_p_wxMenu swig_types[4]
217 #define SWIGTYPE_p_wxPrintData swig_types[5]
218 #define SWIGTYPE_p_wxFontData swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221 #define SWIGTYPE_p_wxIconBundle swig_types[9]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225 #define SWIGTYPE_p_wxFont swig_types[13]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227 #define SWIGTYPE_p_wxRegion swig_types[15]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229 #define SWIGTYPE_p_int swig_types[17]
230 #define SWIGTYPE_p_wxSize swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxIcon swig_types[20]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234 #define SWIGTYPE_p_wxColourData swig_types[22]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236 #define SWIGTYPE_p_wxPyWindow swig_types[24]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244 #define SWIGTYPE_p_wxFileDialog swig_types[32]
245 #define SWIGTYPE_p_wxPrinter swig_types[33]
246 #define SWIGTYPE_p_wxArrayInt swig_types[34]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
251 #define SWIGTYPE_p_wxRect swig_types[39]
252 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
253 #define SWIGTYPE_p_wxFrame swig_types[41]
254 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
255 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257 #define SWIGTYPE_p_wxStatusBar swig_types[45]
258 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259 #define SWIGTYPE_p_wxPoint swig_types[47]
260 #define SWIGTYPE_p_wxObject swig_types[48]
261 #define SWIGTYPE_p_unsigned_long swig_types[49]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263 #define SWIGTYPE_p_wxTipWindow swig_types[51]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPrintQuality swig_types[76]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
295 static swig_type_info
*swig_types
[84];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows
305 #define SWIG_name "_windows"
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
310 DECLARE_DEF_STRING(PanelNameStr
);
311 DECLARE_DEF_STRING(EmptyString
);
317 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
323 } else if (target
== Py_None
) {
327 if (!PyTuple_Check(target
)) {
329 target
= PyTuple_New(1);
330 PyTuple_SetItem(target
, 0, o2
);
333 PyTuple_SetItem(o3
, 0, o
);
336 target
= PySequence_Concat(o2
, o3
);
344 // Put some wx default wxChar* values into wxStrings.
345 DECLARE_DEF_STRING(FrameNameStr
);
346 DECLARE_DEF_STRING(DialogNameStr
);
347 DECLARE_DEF_STRING(StatusLineNameStr
);
348 DECLARE_DEF_STRING(ToolBarNameStr
);
350 bool wxDialog_IsModalShowing(wxDialog
*self
){
352 return self
->m_modalShowing
;
359 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
361 self
->GetFieldRect(i
, r
);
365 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
366 DECLARE_DEF_STRING(SplitterNameStr
);
369 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
370 DECLARE_DEF_STRING(SashNameStr
);
371 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
372 DECLARE_DEF_STRING(SashLayoutNameStr
);
375 #include <wx/popupwin.h>
378 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
381 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
382 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
383 : wxPopupTransientWindow(parent
, style
) {}
385 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
386 DEC_PYCALLBACK__(OnDismiss
);
387 DEC_PYCALLBACK_BOOL_(CanDismiss
);
392 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
393 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
394 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
397 #include <wx/tipwin.h>
399 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
400 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
403 #include <wx/tipwin.h>
406 #include <wx/vscroll.h>
409 class wxPyVScrolledWindow
: public wxVScrolledWindow
411 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
413 wxPyVScrolledWindow() : wxVScrolledWindow() {}
415 wxPyVScrolledWindow(wxWindow
*parent
,
416 wxWindowID id
= wxID_ANY
,
417 const wxPoint
& pos
= wxDefaultPosition
,
418 const wxSize
& size
= wxDefaultSize
,
420 const wxString
& name
= wxPyPanelNameStr
)
421 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
424 // Overridable virtuals
426 // this function must be overridden in the derived class and it should
427 // return the height of the given line in pixels
428 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
431 // this function doesn't have to be overridden but it may be useful to do
432 // it if calculating the lines heights is a relatively expensive operation
433 // as it gives the user code a possibility to calculate several of them at
436 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
437 // shouldn't rely on the latter being called for all lines in the interval
438 // specified here. It is also possible that OnGetLineHeight() will be
439 // called for the lines outside of this interval, so this is really just a
440 // hint, not a promise.
442 // finally note that lineMin is inclusive, while lineMax is exclusive, as
444 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
447 // when the number of lines changes, we try to estimate the total height
448 // of all lines which is a rather expensive operation in terms of lines
449 // access, so if the user code may estimate the average height
450 // better/faster than we do, it should override this function to implement
453 // this function should return the best guess for the total height it may
455 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
458 // Also expose some other interesting protected methods
461 // find the index of the line we need to show at the top of the window such
462 // that the last (fully or partially) visible line is the given one
463 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
464 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
466 // get the total height of the lines between lineMin (inclusive) and
467 // lineMax (exclusive)
468 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
469 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
475 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
477 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
478 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
479 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
482 #include <wx/vlbox.h>
483 DECLARE_DEF_STRING(VListBoxNameStr
);
486 class wxPyVListBox
: public wxVListBox
488 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
490 wxPyVListBox() : wxVListBox() {}
492 wxPyVListBox(wxWindow
*parent
,
493 wxWindowID id
= wxID_ANY
,
494 const wxPoint
& pos
= wxDefaultPosition
,
495 const wxSize
& size
= wxDefaultSize
,
497 const wxString
& name
= wxPyVListBoxNameStr
)
498 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
501 // Overridable virtuals
503 // the derived class must implement this function to actually draw the item
504 // with the given index on the provided DC
505 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
506 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
509 // the derived class must implement this method to return the height of the
511 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
512 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
515 // this method may be used to draw separators between the lines; note that
516 // the rectangle may be modified, typically to deflate it a bit before
517 // passing to OnDrawItem()
519 // the base class version doesn't do anything
520 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
521 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
524 // this method is used to draw the items background and, maybe, a border
527 // the base class version implements a reasonable default behaviour which
528 // consists in drawing the selected item with the standard background
529 // colour and drawing a border around the item if it is either selected or
531 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
532 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
538 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
540 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
541 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
542 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
543 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
547 #include <wx/htmllbox.h>
550 class wxPyHtmlListBox
: public wxHtmlListBox
552 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
554 wxPyHtmlListBox() : wxHtmlListBox() {}
556 wxPyHtmlListBox(wxWindow
*parent
,
557 wxWindowID id
= wxID_ANY
,
558 const wxPoint
& pos
= wxDefaultPosition
,
559 const wxSize
& size
= wxDefaultSize
,
561 const wxString
& name
= wxPyVListBoxNameStr
)
562 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
565 // Overridable virtuals
567 // this method must be implemented in the derived class and should return
568 // the body (i.e. without <html>) of the HTML for the given item
569 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
571 // this function may be overridden to decorate HTML returned by OnGetItem()
572 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
575 // // this method allows to customize the selection appearance: it may be used
576 // // to specify the colour of the text which normally has the given colour
577 // // colFg when it is inside the selection
579 // // by default, the original colour is not used at all and all text has the
580 // // same (default for this system) colour inside selection
581 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
583 // // this is the same as GetSelectedTextColour() but allows to customize the
584 // // background colour -- this is even more rarely used as you can change it
585 // // globally using SetSelectionBackground()
586 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
593 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
595 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
596 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
603 // implement dummy classes and such for wxMac
605 class wxTaskBarIcon
: public wxEvtHandler
608 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError
); }
612 class wxTaskBarIconEvent
: public wxEvent
615 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
616 { PyErr_SetNone(PyExc_NotImplementedError
); }
617 virtual wxEvent
* Clone() const { return NULL
; }
621 wxEVT_TASKBAR_MOVE
= 0,
622 wxEVT_TASKBAR_LEFT_DOWN
= 0,
623 wxEVT_TASKBAR_LEFT_UP
= 0,
624 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
625 wxEVT_TASKBAR_RIGHT_UP
= 0,
626 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
627 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
633 DECLARE_DEF_STRING(FileSelectorPromptStr
);
634 DECLARE_DEF_STRING(DirSelectorPromptStr
);
635 DECLARE_DEF_STRING(DirDialogNameStr
);
636 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
637 DECLARE_DEF_STRING(GetTextFromUserPromptStr
);
638 DECLARE_DEF_STRING(MessageBoxCaptionStr
);
641 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
643 self
->GetFilenames(arr
);
644 return wxArrayString2PyList_helper(arr
);
646 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
649 return wxArrayString2PyList_helper(arr
);
651 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
652 return wxArrayInt2PyList_helper(self
->GetSelections());
654 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
655 return new wxSingleChoiceDialog(parent
, message
, caption
,
656 choices
, choices_array
, NULL
, style
, pos
);
661 // C++ version of Python aware wxWindow
662 class wxPyWindow
: public wxWindow
664 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
666 wxPyWindow() : wxWindow() {}
667 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
668 const wxPoint
& pos
= wxDefaultPosition
,
669 const wxSize
& size
= wxDefaultSize
,
671 const wxString
& name
= wxPyPanelNameStr
)
672 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
675 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
676 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
677 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
678 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
680 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
682 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
684 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
685 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
687 DEC_PYCALLBACK__(InitDialog
);
688 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
689 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
690 DEC_PYCALLBACK_BOOL_(Validate
);
692 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
693 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
694 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
696 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
697 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
702 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
704 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
705 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
706 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
707 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
709 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
710 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
711 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
713 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
714 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
716 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
717 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
718 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
719 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
721 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
722 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
723 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
725 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
726 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
729 // C++ version of Python aware wxPanel
730 class wxPyPanel
: public wxPanel
732 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
734 wxPyPanel() : wxPanel() {}
735 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
736 const wxPoint
& pos
= wxDefaultPosition
,
737 const wxSize
& size
= wxDefaultSize
,
739 const wxString
& name
= wxPyPanelNameStr
)
740 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
743 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
744 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
752 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
753 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
755 DEC_PYCALLBACK__(InitDialog
);
756 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
757 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
758 DEC_PYCALLBACK_BOOL_(Validate
);
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
762 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
764 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
765 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
770 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
772 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
773 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
774 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
777 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
781 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
782 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
784 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
785 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
786 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
787 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
789 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
790 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
791 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
793 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
798 #include "wx/wxPython/printfw.h"
800 static const wxChar
* wxPrintoutTitleStr
= wxT("Printout");
801 DECLARE_DEF_STRING(PrintoutTitleStr
);
802 static const wxChar
* wxPreviewCanvasNameStr
= wxT("previewcanvas");
803 DECLARE_DEF_STRING(PreviewCanvasNameStr
);
809 // Since this one would be tough and ugly to do with the Macros...
810 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
814 wxPyBeginBlockThreads();
815 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
816 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
817 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
820 val
= PyTuple_GetItem(result
, 0);
821 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
824 val
= PyTuple_GetItem(result
, 1);
825 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
828 val
= PyTuple_GetItem(result
, 2);
829 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
832 val
= PyTuple_GetItem(result
, 3);
833 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
840 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
845 wxPyEndBlockThreads();
847 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
850 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
851 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
855 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
856 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
857 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
858 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
859 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
860 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
861 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
867 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
868 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
869 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
872 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
873 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
876 wxPyBeginBlockThreads(); \
877 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
878 PyObject* win = wxPyMake_wxObject(a); \
879 PyObject* dc = wxPyMake_wxObject(&b); \
880 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
884 wxPyEndBlockThreads(); \
886 rval = PCLASS::CBNAME(a, b); \
889 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
890 return PCLASS::CBNAME(a, b); \
896 class wxPyPrintPreview
: public wxPrintPreview
898 DECLARE_CLASS(wxPyPrintPreview
)
900 wxPyPrintPreview(wxPyPrintout
* printout
,
901 wxPyPrintout
* printoutForPrinting
,
902 wxPrintData
* data
=NULL
)
903 : wxPrintPreview(printout
, printoutForPrinting
, data
)
906 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
907 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
908 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
909 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
910 DEC_PYCALLBACK_VOID_INT(SetZoom
);
911 DEC_PYCALLBACK_BOOL_BOOL(Print
);
912 DEC_PYCALLBACK_VOID_(DetermineScaling
);
917 // Stupid renamed classes... Fix this in 2.5...
918 #if defined(__WXMSW__)
919 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
920 #elif defined(__WXMAC__)
921 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
923 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
926 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
927 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
928 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
929 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
930 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
931 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
932 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
935 class wxPyPreviewFrame
: public wxPreviewFrame
937 DECLARE_CLASS(wxPyPreviewFrame
);
939 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
940 const wxString
& title
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
943 long style
= wxDEFAULT_FRAME_STYLE
,
944 const wxString
& name
= wxPyFrameNameStr
)
945 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
948 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
949 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
951 DEC_PYCALLBACK_VOID_(Initialize
);
952 DEC_PYCALLBACK_VOID_(CreateCanvas
);
953 DEC_PYCALLBACK_VOID_(CreateControlBar
);
958 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
960 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
961 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
962 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
965 class wxPyPreviewControlBar
: public wxPreviewControlBar
967 DECLARE_CLASS(wxPyPreviewControlBar
);
969 wxPyPreviewControlBar(wxPrintPreview
*preview
,
972 const wxPoint
& pos
= wxDefaultPosition
,
973 const wxSize
& size
= wxDefaultSize
,
975 const wxString
& name
= wxPyPanelNameStr
)
976 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
979 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
981 DEC_PYCALLBACK_VOID_(CreateButtons
);
982 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
987 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
988 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
989 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
994 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 wxWindow
*arg1
= (wxWindow
*) 0 ;
997 int arg2
= (int) (int)-1 ;
998 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
999 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1000 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1001 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1002 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1003 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1004 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1008 bool temp6
= False
;
1009 PyObject
* obj0
= 0 ;
1010 PyObject
* obj2
= 0 ;
1011 PyObject
* obj3
= 0 ;
1012 PyObject
* obj5
= 0 ;
1014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1028 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1033 arg6
= wxString_in_helper(obj5
);
1034 if (arg6
== NULL
) SWIG_fail
;
1039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1040 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1042 wxPyEndAllowThreads(__tstate
);
1043 if (PyErr_Occurred()) SWIG_fail
;
1045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1060 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
*resultobj
;
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 result
= (wxPanel
*)new wxPanel();
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) SWIG_fail
;
1075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1082 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 wxPanel
*arg1
= (wxPanel
*) 0 ;
1085 wxWindow
*arg2
= (wxWindow
*) 0 ;
1087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1091 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1092 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1097 bool temp7
= False
;
1098 PyObject
* obj0
= 0 ;
1099 PyObject
* obj1
= 0 ;
1100 PyObject
* obj3
= 0 ;
1101 PyObject
* obj4
= 0 ;
1102 PyObject
* obj6
= 0 ;
1104 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1124 arg7
= wxString_in_helper(obj6
);
1125 if (arg7
== NULL
) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) SWIG_fail
;
1136 resultobj
= PyInt_FromLong((long)result
);
1151 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxPanel
*arg1
= (wxPanel
*) 0 ;
1154 PyObject
* obj0
= 0 ;
1156 (char *) "self", NULL
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 (arg1
)->InitDialog();
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) SWIG_fail
;
1168 Py_INCREF(Py_None
); resultobj
= Py_None
;
1175 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1178 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1180 return Py_BuildValue((char *)"");
1182 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
*resultobj
;
1184 wxWindow
*arg1
= (wxWindow
*) 0 ;
1185 int arg2
= (int) (int)-1 ;
1186 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1187 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1188 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1189 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1190 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1191 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1192 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1193 wxScrolledWindow
*result
;
1196 bool temp6
= False
;
1197 PyObject
* obj0
= 0 ;
1198 PyObject
* obj2
= 0 ;
1199 PyObject
* obj3
= 0 ;
1200 PyObject
* obj5
= 0 ;
1202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1221 arg6
= wxString_in_helper(obj5
);
1222 if (arg6
== NULL
) SWIG_fail
;
1227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1228 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) SWIG_fail
;
1233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1248 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
*resultobj
;
1250 wxScrolledWindow
*result
;
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) SWIG_fail
;
1263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1270 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1273 wxWindow
*arg2
= (wxWindow
*) 0 ;
1274 int arg3
= (int) (int)-1 ;
1275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1279 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1280 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1281 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1285 bool temp7
= False
;
1286 PyObject
* obj0
= 0 ;
1287 PyObject
* obj1
= 0 ;
1288 PyObject
* obj3
= 0 ;
1289 PyObject
* obj4
= 0 ;
1290 PyObject
* obj6
= 0 ;
1292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1312 arg7
= wxString_in_helper(obj6
);
1313 if (arg7
== NULL
) SWIG_fail
;
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 resultobj
= PyInt_FromLong((long)result
);
1339 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1346 int arg6
= (int) 0 ;
1347 int arg7
= (int) 0 ;
1348 bool arg8
= (bool) False
;
1349 PyObject
* obj0
= 0 ;
1350 PyObject
* obj7
= 0 ;
1352 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1358 arg8
= PyInt_AsLong(obj7
) ? true : false;
1359 if (PyErr_Occurred()) SWIG_fail
;
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1363 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1368 Py_INCREF(Py_None
); resultobj
= Py_None
;
1375 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1377 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1380 PyObject
* obj0
= 0 ;
1382 (char *) "self",(char *) "x",(char *) "y", NULL
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 (arg1
)->Scroll(arg2
,arg3
);
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1394 Py_INCREF(Py_None
); resultobj
= Py_None
;
1401 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
*resultobj
;
1403 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1406 PyObject
* obj0
= 0 ;
1408 (char *) "self",(char *) "orient", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1417 wxPyEndAllowThreads(__tstate
);
1418 if (PyErr_Occurred()) SWIG_fail
;
1420 resultobj
= PyInt_FromLong((long)result
);
1427 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1432 PyObject
* obj0
= 0 ;
1434 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 Py_INCREF(Py_None
); resultobj
= Py_None
;
1453 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 (arg1
)->SetScrollRate(arg2
,arg3
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 Py_INCREF(Py_None
); resultobj
= Py_None
;
1479 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1482 int *arg2
= (int *) 0 ;
1483 int *arg3
= (int *) 0 ;
1486 PyObject
* obj0
= 0 ;
1488 (char *) "self", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1502 Py_INCREF(Py_None
); resultobj
= Py_None
;
1504 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1505 resultobj
= t_output_helper(resultobj
,o
);
1508 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1509 resultobj
= t_output_helper(resultobj
,o
);
1517 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
*resultobj
;
1519 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1522 PyObject
* obj0
= 0 ;
1523 PyObject
* obj1
= 0 ;
1524 PyObject
* obj2
= 0 ;
1526 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1531 arg2
= PyInt_AsLong(obj1
) ? true : false;
1532 if (PyErr_Occurred()) SWIG_fail
;
1533 arg3
= PyInt_AsLong(obj2
) ? true : false;
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 (arg1
)->EnableScrolling(arg2
,arg3
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 Py_INCREF(Py_None
); resultobj
= Py_None
;
1549 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1552 int *arg2
= (int *) 0 ;
1553 int *arg3
= (int *) 0 ;
1556 PyObject
* obj0
= 0 ;
1558 (char *) "self", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1572 Py_INCREF(Py_None
); resultobj
= Py_None
;
1574 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1575 resultobj
= t_output_helper(resultobj
,o
);
1578 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1579 resultobj
= t_output_helper(resultobj
,o
);
1587 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1592 PyObject
* obj0
= 0 ;
1594 (char *) "self",(char *) "xs",(char *) "ys", NULL
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 (arg1
)->SetScale(arg2
,arg3
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1606 Py_INCREF(Py_None
); resultobj
= Py_None
;
1613 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1617 PyObject
* obj0
= 0 ;
1619 (char *) "self", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 resultobj
= PyFloat_FromDouble(result
);
1638 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1656 resultobj
= PyFloat_FromDouble(result
);
1663 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1664 PyObject
*resultobj
;
1665 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1672 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1686 wxPoint
* resultptr
;
1687 resultptr
= new wxPoint((wxPoint
&) result
);
1688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1696 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1697 PyObject
*resultobj
;
1698 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1701 int *arg4
= (int *) 0 ;
1702 int *arg5
= (int *) 0 ;
1705 PyObject
* obj0
= 0 ;
1709 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1718 Py_INCREF(Py_None
); resultobj
= Py_None
;
1720 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1721 resultobj
= t_output_helper(resultobj
,o
);
1724 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1725 resultobj
= t_output_helper(resultobj
,o
);
1733 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1738 argc
= PyObject_Length(args
);
1739 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1740 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1746 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1755 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1758 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1766 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1775 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1779 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1782 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1788 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1793 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1794 PyObject
*resultobj
;
1795 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1802 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1816 wxPoint
* resultptr
;
1817 resultptr
= new wxPoint((wxPoint
&) result
);
1818 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1826 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1827 PyObject
*resultobj
;
1828 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1831 int *arg4
= (int *) 0 ;
1832 int *arg5
= (int *) 0 ;
1835 PyObject
* obj0
= 0 ;
1839 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 Py_INCREF(Py_None
); resultobj
= Py_None
;
1850 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1851 resultobj
= t_output_helper(resultobj
,o
);
1854 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1855 resultobj
= t_output_helper(resultobj
,o
);
1863 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1868 argc
= PyObject_Length(args
);
1869 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1870 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1876 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1885 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1888 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1896 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1905 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1909 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1912 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1918 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1923 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1925 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1928 (char *) "self", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 (arg1
)->AdjustScrollbars();
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 Py_INCREF(Py_None
); resultobj
= Py_None
;
1947 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
*resultobj
;
1949 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1950 wxScrollWinEvent
*arg2
= 0 ;
1952 PyObject
* obj0
= 0 ;
1953 PyObject
* obj1
= 0 ;
1955 (char *) "self",(char *) "event", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 resultobj
= PyInt_FromLong((long)result
);
1978 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1981 wxWindow
*arg2
= (wxWindow
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1985 (char *) "self",(char *) "target", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 (arg1
)->SetTargetWindow(arg2
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 Py_INCREF(Py_None
); resultobj
= Py_None
;
2005 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2007 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2009 PyObject
* obj0
= 0 ;
2011 (char *) "self", NULL
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2024 resultobj
= wxPyMake_wxObject(result
);
2032 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2035 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2037 return Py_BuildValue((char *)"");
2039 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2042 bool arg2
= (bool) True
;
2043 PyObject
* obj0
= 0 ;
2044 PyObject
* obj1
= 0 ;
2046 (char *) "self",(char *) "maximize", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2052 arg2
= PyInt_AsLong(obj1
) ? true : false;
2053 if (PyErr_Occurred()) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 (arg1
)->Maximize(arg2
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2072 PyObject
* obj0
= 0 ;
2074 (char *) "self", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 Py_INCREF(Py_None
); resultobj
= Py_None
;
2093 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
*resultobj
;
2095 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2096 bool arg2
= (bool) True
;
2097 PyObject
* obj0
= 0 ;
2098 PyObject
* obj1
= 0 ;
2100 (char *) "self",(char *) "iconize", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2106 arg2
= PyInt_AsLong(obj1
) ? true : false;
2107 if (PyErr_Occurred()) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 (arg1
)->Iconize(arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 Py_INCREF(Py_None
); resultobj
= Py_None
;
2123 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2125 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2127 PyObject
* obj0
= 0 ;
2129 (char *) "self", NULL
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 resultobj
= PyInt_FromLong((long)result
);
2148 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2152 PyObject
* obj0
= 0 ;
2154 (char *) "self", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2166 resultobj
= PyInt_FromLong((long)result
);
2173 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2177 PyObject
* obj0
= 0 ;
2179 (char *) "self", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2193 resultptr
= new wxIcon((wxIcon
&) result
);
2194 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2202 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2206 PyObject
* obj0
= 0 ;
2207 PyObject
* obj1
= 0 ;
2209 (char *) "self",(char *) "icon", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 Py_INCREF(Py_None
); resultobj
= Py_None
;
2232 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2235 wxIconBundle
*arg2
= 0 ;
2236 PyObject
* obj0
= 0 ;
2237 PyObject
* obj1
= 0 ;
2239 (char *) "self",(char *) "icons", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 Py_INCREF(Py_None
); resultobj
= Py_None
;
2262 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2266 long arg3
= (long) wxFULLSCREEN_ALL
;
2268 PyObject
* obj0
= 0 ;
2269 PyObject
* obj1
= 0 ;
2271 (char *) "self",(char *) "show",(char *) "style", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2276 arg2
= PyInt_AsLong(obj1
) ? true : false;
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 resultobj
= PyInt_FromLong((long)result
);
2292 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2294 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2296 PyObject
* obj0
= 0 ;
2298 (char *) "self", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 resultobj
= PyInt_FromLong((long)result
);
2317 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
*resultobj
;
2319 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2320 wxString
*arg2
= 0 ;
2321 bool temp2
= False
;
2322 PyObject
* obj0
= 0 ;
2323 PyObject
* obj1
= 0 ;
2325 (char *) "self",(char *) "title", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2331 arg2
= wxString_in_helper(obj1
);
2332 if (arg2
== NULL
) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 (arg1
)->SetTitle((wxString
const &)*arg2
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2357 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2363 (char *) "self", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2388 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2390 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2391 wxRegion
*arg2
= 0 ;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2396 (char *) "self",(char *) "region", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= PyInt_FromLong((long)result
);
2419 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2422 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2424 return Py_BuildValue((char *)"");
2426 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2428 wxWindow
*arg1
= (wxWindow
*) 0 ;
2430 wxString
*arg3
= 0 ;
2431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2435 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2436 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2439 bool temp3
= False
;
2442 bool temp7
= False
;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj2
= 0 ;
2445 PyObject
* obj3
= 0 ;
2446 PyObject
* obj4
= 0 ;
2447 PyObject
* obj6
= 0 ;
2449 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2455 arg3
= wxString_in_helper(obj2
);
2456 if (arg3
== NULL
) SWIG_fail
;
2462 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2468 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2473 arg7
= wxString_in_helper(obj6
);
2474 if (arg7
== NULL
) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2486 resultobj
= wxPyMake_wxObject(result
);
2510 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 result
= (wxFrame
*)new wxFrame();
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2526 resultobj
= wxPyMake_wxObject(result
);
2534 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2536 wxFrame
*arg1
= (wxFrame
*) 0 ;
2537 wxWindow
*arg2
= (wxWindow
*) 0 ;
2539 wxString
*arg4
= 0 ;
2540 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2541 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2542 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2543 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2544 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2545 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2548 bool temp4
= False
;
2551 bool temp8
= False
;
2552 PyObject
* obj0
= 0 ;
2553 PyObject
* obj1
= 0 ;
2554 PyObject
* obj3
= 0 ;
2555 PyObject
* obj4
= 0 ;
2556 PyObject
* obj5
= 0 ;
2557 PyObject
* obj7
= 0 ;
2559 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2566 arg4
= wxString_in_helper(obj3
);
2567 if (arg4
== NULL
) SWIG_fail
;
2573 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2579 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2584 arg8
= wxString_in_helper(obj7
);
2585 if (arg8
== NULL
) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= PyInt_FromLong((long)result
);
2619 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxFrame
*arg1
= (wxFrame
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2638 wxPoint
* resultptr
;
2639 resultptr
= new wxPoint((wxPoint
&) result
);
2640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2648 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2650 wxFrame
*arg1
= (wxFrame
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "self", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 (arg1
)->SendSizeEvent();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 Py_INCREF(Py_None
); resultobj
= Py_None
;
2672 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxFrame
*arg1
= (wxFrame
*) 0 ;
2675 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
2676 PyObject
* obj0
= 0 ;
2677 PyObject
* obj1
= 0 ;
2679 (char *) "self",(char *) "menubar", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->SetMenuBar(arg2
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxFrame
*arg1
= (wxFrame
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2705 (char *) "self", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= wxPyMake_wxObject(result
);
2726 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxFrame
*arg1
= (wxFrame
*) 0 ;
2731 PyObject
* obj0
= 0 ;
2733 (char *) "self",(char *) "winid", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
2737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= (bool)(arg1
)->ProcessCommand(arg2
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 resultobj
= PyInt_FromLong((long)result
);
2752 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxFrame
*arg1
= (wxFrame
*) 0 ;
2755 int arg2
= (int) 1 ;
2756 long arg3
= (long) wxST_SIZEGRIP
;
2757 int arg4
= (int) 0 ;
2758 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
2759 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2760 wxStatusBar
*result
;
2761 bool temp5
= False
;
2762 PyObject
* obj0
= 0 ;
2763 PyObject
* obj4
= 0 ;
2765 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2772 arg5
= wxString_in_helper(obj4
);
2773 if (arg5
== NULL
) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2785 resultobj
= wxPyMake_wxObject(result
);
2801 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxFrame
*arg1
= (wxFrame
*) 0 ;
2804 wxStatusBar
*result
;
2805 PyObject
* obj0
= 0 ;
2807 (char *) "self", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2820 resultobj
= wxPyMake_wxObject(result
);
2828 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxFrame
*arg1
= (wxFrame
*) 0 ;
2831 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2835 (char *) "self",(char *) "statBar", NULL
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 (arg1
)->SetStatusBar(arg2
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 Py_INCREF(Py_None
); resultobj
= Py_None
;
2855 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxFrame
*arg1
= (wxFrame
*) 0 ;
2858 wxString
*arg2
= 0 ;
2859 int arg3
= (int) 0 ;
2860 bool temp2
= False
;
2861 PyObject
* obj0
= 0 ;
2862 PyObject
* obj1
= 0 ;
2864 (char *) "self",(char *) "text",(char *) "number", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2870 arg2
= wxString_in_helper(obj1
);
2871 if (arg2
== NULL
) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxFrame
*arg1
= (wxFrame
*) 0 ;
2900 int *arg3
= (int *) 0 ;
2901 PyObject
* obj0
= 0 ;
2902 PyObject
* obj1
= 0 ;
2904 (char *) "self",(char *) "widths", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2910 arg2
= PyList_Size(obj1
);
2911 arg3
= int_LIST_helper(obj1
);
2912 if (arg3
== NULL
) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2916 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 if (arg3
) delete [] arg3
;
2928 if (arg3
) delete [] arg3
;
2934 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxFrame
*arg1
= (wxFrame
*) 0 ;
2937 wxString
*arg2
= 0 ;
2938 int arg3
= (int) 0 ;
2939 bool temp2
= False
;
2940 PyObject
* obj0
= 0 ;
2941 PyObject
* obj1
= 0 ;
2943 (char *) "self",(char *) "text",(char *) "number", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2949 arg2
= wxString_in_helper(obj1
);
2950 if (arg2
== NULL
) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 Py_INCREF(Py_None
); resultobj
= Py_None
;
2975 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxFrame
*arg1
= (wxFrame
*) 0 ;
2978 int arg2
= (int) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self",(char *) "number", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 (arg1
)->PopStatusText(arg2
);
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2993 Py_INCREF(Py_None
); resultobj
= Py_None
;
3000 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxFrame
*arg1
= (wxFrame
*) 0 ;
3004 PyObject
* obj0
= 0 ;
3006 (char *) "self",(char *) "n", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 (arg1
)->SetStatusBarPane(arg2
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 Py_INCREF(Py_None
); resultobj
= Py_None
;
3025 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxFrame
*arg1
= (wxFrame
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3031 (char *) "self", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3043 resultobj
= PyInt_FromLong((long)result
);
3050 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxFrame
*arg1
= (wxFrame
*) 0 ;
3053 long arg2
= (long) -1 ;
3054 int arg3
= (int) -1 ;
3055 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3056 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3058 bool temp4
= False
;
3059 PyObject
* obj0
= 0 ;
3060 PyObject
* obj3
= 0 ;
3062 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3069 arg4
= wxString_in_helper(obj3
);
3070 if (arg4
== NULL
) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= wxPyMake_wxObject(result
);
3098 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxFrame
*arg1
= (wxFrame
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3104 (char *) "self", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= wxPyMake_wxObject(result
);
3125 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxFrame
*arg1
= (wxFrame
*) 0 ;
3128 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3132 (char *) "self",(char *) "toolbar", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 (arg1
)->SetToolBar(arg2
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3152 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxFrame
*arg1
= (wxFrame
*) 0 ;
3155 wxString
*arg2
= 0 ;
3157 bool temp2
= False
;
3158 PyObject
* obj0
= 0 ;
3159 PyObject
* obj1
= 0 ;
3160 PyObject
* obj2
= 0 ;
3162 (char *) "self",(char *) "text",(char *) "show", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 arg2
= wxString_in_helper(obj1
);
3169 if (arg2
== NULL
) SWIG_fail
;
3172 arg3
= PyInt_AsLong(obj2
) ? true : false;
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 Py_INCREF(Py_None
); resultobj
= Py_None
;
3196 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxFrame
*arg1
= (wxFrame
*) 0 ;
3199 wxMenu
*arg2
= (wxMenu
*) NULL
;
3200 PyObject
* obj0
= 0 ;
3201 PyObject
* obj1
= 0 ;
3203 (char *) "self",(char *) "menu", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 (arg1
)->DoMenuUpdates(arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 Py_INCREF(Py_None
); resultobj
= Py_None
;
3225 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3228 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3230 return Py_BuildValue((char *)"");
3232 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxWindow
*arg1
= (wxWindow
*) 0 ;
3236 wxString
*arg3
= 0 ;
3237 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3238 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3239 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3240 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3241 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3242 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3243 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3245 bool temp3
= False
;
3248 bool temp7
= False
;
3249 PyObject
* obj0
= 0 ;
3250 PyObject
* obj2
= 0 ;
3251 PyObject
* obj3
= 0 ;
3252 PyObject
* obj4
= 0 ;
3253 PyObject
* obj6
= 0 ;
3255 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3261 arg3
= wxString_in_helper(obj2
);
3262 if (arg3
== NULL
) SWIG_fail
;
3268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3279 arg7
= wxString_in_helper(obj6
);
3280 if (arg7
== NULL
) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3314 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 result
= (wxDialog
*)new wxDialog();
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3336 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 wxDialog
*arg1
= (wxDialog
*) 0 ;
3339 wxWindow
*arg2
= (wxWindow
*) 0 ;
3341 wxString
*arg4
= 0 ;
3342 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3343 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3344 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3345 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3346 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3347 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3348 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3350 bool temp4
= False
;
3353 bool temp8
= False
;
3354 PyObject
* obj0
= 0 ;
3355 PyObject
* obj1
= 0 ;
3356 PyObject
* obj3
= 0 ;
3357 PyObject
* obj4
= 0 ;
3358 PyObject
* obj5
= 0 ;
3359 PyObject
* obj7
= 0 ;
3361 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3368 arg4
= wxString_in_helper(obj3
);
3369 if (arg4
== NULL
) SWIG_fail
;
3375 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3381 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3386 arg8
= wxString_in_helper(obj7
);
3387 if (arg8
== NULL
) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= PyInt_FromLong((long)result
);
3421 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxDialog
*arg1
= (wxDialog
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3427 (char *) "self",(char *) "returnCode", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 (arg1
)->SetReturnCode(arg2
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxDialog
*arg1
= (wxDialog
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= PyInt_FromLong((long)result
);
3471 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxDialog
*arg1
= (wxDialog
*) 0 ;
3474 wxString
*arg2
= 0 ;
3476 bool temp2
= False
;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3480 (char *) "self",(char *) "message", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3486 arg2
= wxString_in_helper(obj1
);
3487 if (arg2
== NULL
) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 resultobj
= wxPyMake_wxSizer(result
);
3514 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxDialog
*arg1
= (wxDialog
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3521 (char *) "self",(char *) "flags", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= wxPyMake_wxSizer(result
);
3542 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxDialog
*arg1
= (wxDialog
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3549 (char *) "self",(char *) "flag", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3554 arg2
= PyInt_AsLong(obj1
) ? true : false;
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 (arg1
)->SetModal(arg2
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 Py_INCREF(Py_None
); resultobj
= Py_None
;
3570 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxDialog
*arg1
= (wxDialog
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3576 (char *) "self", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= PyInt_FromLong((long)result
);
3595 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxDialog
*arg1
= (wxDialog
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3601 (char *) "self", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (int)(arg1
)->ShowModal();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= PyInt_FromLong((long)result
);
3620 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxDialog
*arg1
= (wxDialog
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self",(char *) "retCode", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 (arg1
)->EndModal(arg2
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 Py_INCREF(Py_None
); resultobj
= Py_None
;
3645 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxDialog
*arg1
= (wxDialog
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "self", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (bool)wxDialog_IsModalShowing(arg1
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= PyInt_FromLong((long)result
);
3670 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3673 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3675 return Py_BuildValue((char *)"");
3677 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxWindow
*arg1
= (wxWindow
*) 0 ;
3681 wxString
*arg3
= 0 ;
3682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3686 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3687 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3689 wxMiniFrame
*result
;
3690 bool temp3
= False
;
3693 bool temp7
= False
;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj2
= 0 ;
3696 PyObject
* obj3
= 0 ;
3697 PyObject
* obj4
= 0 ;
3698 PyObject
* obj6
= 0 ;
3700 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3706 arg3
= wxString_in_helper(obj2
);
3707 if (arg3
== NULL
) SWIG_fail
;
3713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3719 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3724 arg7
= wxString_in_helper(obj6
);
3725 if (arg7
== NULL
) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3759 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxMiniFrame
*result
;
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (wxMiniFrame
*)new wxMiniFrame();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3781 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
3784 wxWindow
*arg2
= (wxWindow
*) 0 ;
3786 wxString
*arg4
= 0 ;
3787 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3788 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3789 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3790 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3791 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3792 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3793 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3795 bool temp4
= False
;
3798 bool temp8
= False
;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3801 PyObject
* obj3
= 0 ;
3802 PyObject
* obj4
= 0 ;
3803 PyObject
* obj5
= 0 ;
3804 PyObject
* obj7
= 0 ;
3806 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3813 arg4
= wxString_in_helper(obj3
);
3814 if (arg4
== NULL
) SWIG_fail
;
3820 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3826 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3831 arg8
= wxString_in_helper(obj7
);
3832 if (arg8
== NULL
) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= PyInt_FromLong((long)result
);
3866 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
3868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3869 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
3871 return Py_BuildValue((char *)"");
3873 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxBitmap
*arg1
= 0 ;
3876 wxWindow
*arg2
= (wxWindow
*) 0 ;
3878 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3879 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3880 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3881 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3882 long arg6
= (long) wxNO_BORDER
;
3883 wxSplashScreenWindow
*result
;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3888 PyObject
* obj3
= 0 ;
3889 PyObject
* obj4
= 0 ;
3891 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
3926 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
3929 wxBitmap
*arg2
= 0 ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3933 (char *) "self",(char *) "bitmap", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3940 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3956 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "self", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
3971 result
= (wxBitmap
*) &_result_ref
;
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
3984 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3987 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
3989 return Py_BuildValue((char *)"");
3991 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxBitmap
*arg1
= 0 ;
3996 wxWindow
*arg4
= (wxWindow
*) 0 ;
3998 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
3999 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4000 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4001 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4002 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4003 wxSplashScreen
*result
;
4006 PyObject
* obj0
= 0 ;
4007 PyObject
* obj3
= 0 ;
4008 PyObject
* obj5
= 0 ;
4009 PyObject
* obj6
= 0 ;
4011 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4017 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4019 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4023 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4029 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4046 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "self", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= PyInt_FromLong((long)result
);
4071 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4074 wxSplashScreenWindow
*result
;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4096 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= PyInt_FromLong((long)result
);
4121 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4124 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4126 return Py_BuildValue((char *)"");
4128 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxWindow
*arg1
= (wxWindow
*) 0 ;
4131 int arg2
= (int) -1 ;
4132 long arg3
= (long) wxST_SIZEGRIP
;
4133 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4134 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4135 wxStatusBar
*result
;
4136 bool temp4
= False
;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj3
= 0 ;
4140 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4147 arg4
= wxString_in_helper(obj3
);
4148 if (arg4
== NULL
) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= wxPyMake_wxObject(result
);
4176 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxStatusBar
*result
;
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (wxStatusBar
*)new wxStatusBar();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= wxPyMake_wxObject(result
);
4200 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
;
4202 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4203 wxWindow
*arg2
= (wxWindow
*) 0 ;
4205 long arg4
= (long) wxST_SIZEGRIP
;
4206 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4207 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4209 bool temp5
= False
;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4212 PyObject
* obj4
= 0 ;
4214 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4222 arg5
= wxString_in_helper(obj4
);
4223 if (arg5
== NULL
) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= PyInt_FromLong((long)result
);
4249 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4252 int arg2
= (int) 1 ;
4253 PyObject
* obj0
= 0 ;
4255 (char *) "self",(char *) "number", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 (arg1
)->SetFieldsCount(arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4280 (char *) "self", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 resultobj
= PyInt_FromLong((long)result
);
4299 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4302 wxString
*arg2
= 0 ;
4303 int arg3
= (int) 0 ;
4304 bool temp2
= False
;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4308 (char *) "self",(char *) "text",(char *) "number", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4314 arg2
= wxString_in_helper(obj1
);
4315 if (arg2
== NULL
) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 Py_INCREF(Py_None
); resultobj
= Py_None
;
4340 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4343 int arg2
= (int) 0 ;
4345 PyObject
* obj0
= 0 ;
4347 (char *) "self",(char *) "number", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4372 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4375 wxString
*arg2
= 0 ;
4376 int arg3
= (int) 0 ;
4377 bool temp2
= False
;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "text",(char *) "number", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4387 arg2
= wxString_in_helper(obj1
);
4388 if (arg2
== NULL
) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4413 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4416 int arg2
= (int) 0 ;
4417 PyObject
* obj0
= 0 ;
4419 (char *) "self",(char *) "number", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->PopStatusText(arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4440 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4442 int *arg3
= (int *) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4446 (char *) "self",(char *) "widths", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4452 arg2
= PyList_Size(obj1
);
4453 arg3
= int_LIST_helper(obj1
);
4454 if (arg3
== NULL
) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 Py_INCREF(Py_None
); resultobj
= Py_None
;
4465 if (arg3
) delete [] arg3
;
4470 if (arg3
) delete [] arg3
;
4476 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4481 PyObject
* obj0
= 0 ;
4483 (char *) "self",(char *) "i", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4497 resultptr
= new wxRect((wxRect
&) result
);
4498 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4506 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4512 (char *) "self",(char *) "height", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetMinHeight(arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= PyInt_FromLong((long)result
);
4556 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4560 PyObject
* obj0
= 0 ;
4562 (char *) "self", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= PyInt_FromLong((long)result
);
4581 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4584 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4586 return Py_BuildValue((char *)"");
4588 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxWindow
*arg1
= (wxWindow
*) 0 ;
4592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4596 long arg5
= (long) wxSP_3D
;
4597 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4599 wxSplitterWindow
*result
;
4602 bool temp6
= False
;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj2
= 0 ;
4605 PyObject
* obj3
= 0 ;
4606 PyObject
* obj5
= 0 ;
4608 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4627 arg6
= wxString_in_helper(obj5
);
4628 if (arg6
== NULL
) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4654 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxSplitterWindow
*result
;
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4676 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4678 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4679 wxWindow
*arg2
= (wxWindow
*) 0 ;
4681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4685 long arg6
= (long) wxSP_3D
;
4686 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
4687 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4691 bool temp7
= False
;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj3
= 0 ;
4695 PyObject
* obj4
= 0 ;
4696 PyObject
* obj6
= 0 ;
4698 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4718 arg7
= wxString_in_helper(obj6
);
4719 if (arg7
== NULL
) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= PyInt_FromLong((long)result
);
4745 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4749 PyObject
* obj0
= 0 ;
4751 (char *) "self", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= wxPyMake_wxObject(result
);
4772 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= wxPyMake_wxObject(result
);
4799 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4805 (char *) "self",(char *) "mode", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 (arg1
)->SetSplitMode(arg2
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= PyInt_FromLong((long)result
);
4849 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4852 wxWindow
*arg2
= (wxWindow
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj1
= 0 ;
4856 (char *) "self",(char *) "window", NULL
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 (arg1
)->Initialize(arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 Py_INCREF(Py_None
); resultobj
= Py_None
;
4876 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4879 wxWindow
*arg2
= (wxWindow
*) 0 ;
4880 wxWindow
*arg3
= (wxWindow
*) 0 ;
4881 int arg4
= (int) 0 ;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4885 PyObject
* obj2
= 0 ;
4887 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4893 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= PyInt_FromLong((long)result
);
4908 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4911 wxWindow
*arg2
= (wxWindow
*) 0 ;
4912 wxWindow
*arg3
= (wxWindow
*) 0 ;
4913 int arg4
= (int) 0 ;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 PyObject
* obj2
= 0 ;
4919 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4924 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4925 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= PyInt_FromLong((long)result
);
4940 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4943 wxWindow
*arg2
= (wxWindow
*) NULL
;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4948 (char *) "self",(char *) "toRemove", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)(arg1
)->Unsplit(arg2
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= PyInt_FromLong((long)result
);
4970 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4973 wxWindow
*arg2
= (wxWindow
*) 0 ;
4974 wxWindow
*arg3
= (wxWindow
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4978 PyObject
* obj2
= 0 ;
4980 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4986 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= PyInt_FromLong((long)result
);
5001 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= PyInt_FromLong((long)result
);
5026 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self",(char *) "width", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->SetSashSize(arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5057 (char *) "self",(char *) "width", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 (arg1
)->SetBorderSize(arg2
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 Py_INCREF(Py_None
); resultobj
= Py_None
;
5076 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5082 (char *) "self", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= PyInt_FromLong((long)result
);
5101 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5107 (char *) "self", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= PyInt_FromLong((long)result
);
5126 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5130 bool arg3
= (bool) True
;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj2
= 0 ;
5134 (char *) "self",(char *) "position",(char *) "redraw", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5140 arg3
= PyInt_AsLong(obj2
) ? true : false;
5141 if (PyErr_Occurred()) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 (arg1
)->SetSashPosition(arg2
,arg3
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 Py_INCREF(Py_None
); resultobj
= Py_None
;
5157 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= PyInt_FromLong((long)result
);
5182 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self",(char *) "min", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 (arg1
)->SetMinimumPaneSize(arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 Py_INCREF(Py_None
); resultobj
= Py_None
;
5207 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "self", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= PyInt_FromLong((long)result
);
5232 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5237 int arg4
= (int) 5 ;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= PyInt_FromLong((long)result
);
5260 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 (arg1
)->SizeWindows();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 Py_INCREF(Py_None
); resultobj
= Py_None
;
5284 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5291 (char *) "self",(char *) "needUpdating", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5296 arg2
= PyInt_AsLong(obj1
) ? true : false;
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 (arg1
)->SetNeedUpdating(arg2
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 Py_INCREF(Py_None
); resultobj
= Py_None
;
5312 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5318 (char *) "self", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= PyInt_FromLong((long)result
);
5337 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5340 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5342 return Py_BuildValue((char *)"");
5344 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5347 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5348 wxSplitterEvent
*result
;
5349 PyObject
* obj1
= 0 ;
5351 (char *) "type",(char *) "splitter", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5372 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5378 (char *) "self",(char *) "pos", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->SetSashPosition(arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5403 (char *) "self", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= PyInt_FromLong((long)result
);
5422 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5428 (char *) "self", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= wxPyMake_wxObject(result
);
5449 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= PyInt_FromLong((long)result
);
5474 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5480 (char *) "self", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= PyInt_FromLong((long)result
);
5499 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5502 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5504 return Py_BuildValue((char *)"");
5506 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxWindow
*arg1
= (wxWindow
*) 0 ;
5510 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5511 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5514 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5515 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5516 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5517 wxSashWindow
*result
;
5520 bool temp6
= False
;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj2
= 0 ;
5523 PyObject
* obj3
= 0 ;
5524 PyObject
* obj5
= 0 ;
5526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5545 arg6
= wxString_in_helper(obj5
);
5546 if (arg6
== NULL
) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5572 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxSashWindow
*result
;
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (wxSashWindow
*)new wxSashWindow();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5594 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5597 wxWindow
*arg2
= (wxWindow
*) 0 ;
5599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5603 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5604 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5605 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5609 bool temp7
= False
;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5612 PyObject
* obj3
= 0 ;
5613 PyObject
* obj4
= 0 ;
5614 PyObject
* obj6
= 0 ;
5616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5625 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5631 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5636 arg7
= wxString_in_helper(obj6
);
5637 if (arg7
== NULL
) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= PyInt_FromLong((long)result
);
5663 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
;
5665 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj2
= 0 ;
5671 (char *) "self",(char *) "edge",(char *) "sash", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5676 arg3
= PyInt_AsLong(obj2
) ? true : false;
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "self",(char *) "edge", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= PyInt_FromLong((long)result
);
5718 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5724 PyObject
* obj2
= 0 ;
5726 (char *) "self",(char *) "edge",(char *) "border", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5731 arg3
= PyInt_AsLong(obj2
) ? true : false;
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5754 (char *) "self",(char *) "edge", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= PyInt_FromLong((long)result
);
5773 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self",(char *) "edge", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= PyInt_FromLong((long)result
);
5799 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5805 (char *) "self",(char *) "width", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 (arg1
)->SetDefaultBorderSize(arg2
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 Py_INCREF(Py_None
); resultobj
= Py_None
;
5824 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5830 (char *) "self", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= PyInt_FromLong((long)result
);
5849 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self",(char *) "width", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->SetExtraBorderSize(arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= PyInt_FromLong((long)result
);
5899 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self",(char *) "min", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 (arg1
)->SetMinimumSizeX(arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 Py_INCREF(Py_None
); resultobj
= Py_None
;
5924 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5930 (char *) "self",(char *) "min", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->SetMinimumSizeY(arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 Py_INCREF(Py_None
); resultobj
= Py_None
;
5949 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= PyInt_FromLong((long)result
);
5974 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5978 PyObject
* obj0
= 0 ;
5980 (char *) "self", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= PyInt_FromLong((long)result
);
5999 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6005 (char *) "self",(char *) "max", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 (arg1
)->SetMaximumSizeX(arg2
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 Py_INCREF(Py_None
); resultobj
= Py_None
;
6024 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self",(char *) "max", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 (arg1
)->SetMaximumSizeY(arg2
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 Py_INCREF(Py_None
); resultobj
= Py_None
;
6049 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6055 (char *) "self", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= PyInt_FromLong((long)result
);
6074 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "self", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= PyInt_FromLong((long)result
);
6099 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6104 int arg4
= (int) 2 ;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= PyInt_FromLong((long)result
);
6127 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 (arg1
)->SizeWindows();
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 Py_INCREF(Py_None
); resultobj
= Py_None
;
6151 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6154 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6156 return Py_BuildValue((char *)"");
6158 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 int arg1
= (int) 0 ;
6161 int arg2
= (int) wxSASH_NONE
;
6162 wxSashEvent
*result
;
6164 (char *) "id",(char *) "edge", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6182 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6188 (char *) "self",(char *) "edge", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 Py_INCREF(Py_None
); resultobj
= Py_None
;
6207 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= PyInt_FromLong((long)result
);
6232 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "rect", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6247 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "self", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6283 resultptr
= new wxRect((wxRect
&) result
);
6284 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6292 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6298 (char *) "self",(char *) "status", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "self", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= PyInt_FromLong((long)result
);
6342 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6347 return Py_BuildValue((char *)"");
6349 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 int arg1
= (int) 0 ;
6352 wxQueryLayoutInfoEvent
*result
;
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6372 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 (char *) "self",(char *) "length", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetRequestedLength(arg2
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 Py_INCREF(Py_None
); resultobj
= Py_None
;
6397 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6403 (char *) "self", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= PyInt_FromLong((long)result
);
6422 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self",(char *) "flags", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->SetFlags(arg2
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 Py_INCREF(Py_None
); resultobj
= Py_None
;
6447 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6451 PyObject
* obj0
= 0 ;
6453 (char *) "self", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= PyInt_FromLong((long)result
);
6472 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6480 (char *) "self",(char *) "size", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 (arg1
)->SetSize((wxSize
const &)*arg2
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 Py_INCREF(Py_None
); resultobj
= Py_None
;
6503 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6509 (char *) "self", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6523 resultptr
= new wxSize((wxSize
&) result
);
6524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6532 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6538 (char *) "self",(char *) "orient", NULL
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 Py_INCREF(Py_None
); resultobj
= Py_None
;
6557 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= PyInt_FromLong((long)result
);
6582 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6588 (char *) "self",(char *) "align", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= PyInt_FromLong((long)result
);
6632 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6635 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
6637 return Py_BuildValue((char *)"");
6639 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 int arg1
= (int) 0 ;
6642 wxCalculateLayoutEvent
*result
;
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
6662 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self",(char *) "flags", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->SetFlags(arg2
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 Py_INCREF(Py_None
); resultobj
= Py_None
;
6687 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= PyInt_FromLong((long)result
);
6712 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "rect", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6727 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 (arg1
)->SetRect((wxRect
const &)*arg2
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 Py_INCREF(Py_None
); resultobj
= Py_None
;
6743 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6749 (char *) "self", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6763 resultptr
= new wxRect((wxRect
&) result
);
6764 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6772 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6775 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
6777 return Py_BuildValue((char *)"");
6779 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxWindow
*arg1
= (wxWindow
*) 0 ;
6783 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6784 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6785 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6786 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6787 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6788 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
6789 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6790 wxSashLayoutWindow
*result
;
6793 bool temp6
= False
;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj2
= 0 ;
6796 PyObject
* obj3
= 0 ;
6797 PyObject
* obj5
= 0 ;
6799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6818 arg6
= wxString_in_helper(obj5
);
6819 if (arg6
== NULL
) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6845 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxSashLayoutWindow
*result
;
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
6867 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6870 wxWindow
*arg2
= (wxWindow
*) 0 ;
6872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6876 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6877 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
6878 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6882 bool temp7
= False
;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6885 PyObject
* obj3
= 0 ;
6886 PyObject
* obj4
= 0 ;
6887 PyObject
* obj6
= 0 ;
6889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6909 arg7
= wxString_in_helper(obj6
);
6910 if (arg7
== NULL
) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= PyInt_FromLong((long)result
);
6936 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "self", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
6946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (int)(arg1
)->GetAlignment();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= PyInt_FromLong((long)result
);
6961 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "self", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (int)(arg1
)->GetOrientation();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= PyInt_FromLong((long)result
);
6986 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self",(char *) "alignment", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 Py_INCREF(Py_None
); resultobj
= Py_None
;
7011 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "size", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7026 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self",(char *) "orientation", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7070 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7072 return Py_BuildValue((char *)"");
7074 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxLayoutAlgorithm
*result
;
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7096 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7099 PyObject
* obj0
= 0 ;
7101 (char *) "self", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 Py_INCREF(Py_None
); resultobj
= Py_None
;
7120 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7123 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7124 wxRect
*arg3
= (wxRect
*) NULL
;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7128 PyObject
* obj2
= 0 ;
7130 (char *) "self",(char *) "frame",(char *) "rect", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7137 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= PyInt_FromLong((long)result
);
7153 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7156 wxFrame
*arg2
= (wxFrame
*) 0 ;
7157 wxWindow
*arg3
= (wxWindow
*) NULL
;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7161 PyObject
* obj2
= 0 ;
7163 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7170 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= PyInt_FromLong((long)result
);
7186 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7189 wxWindow
*arg2
= (wxWindow
*) 0 ;
7190 wxWindow
*arg3
= (wxWindow
*) NULL
;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7196 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7203 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= PyInt_FromLong((long)result
);
7219 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7222 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7224 return Py_BuildValue((char *)"");
7226 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxWindow
*arg1
= (wxWindow
*) 0 ;
7229 int arg2
= (int) wxBORDER_NONE
;
7230 wxPopupWindow
*result
;
7231 PyObject
* obj0
= 0 ;
7233 (char *) "parent",(char *) "flags", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7252 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxPopupWindow
*result
;
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (wxPopupWindow
*)new wxPopupWindow();
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7274 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7277 wxWindow
*arg2
= (wxWindow
*) 0 ;
7278 int arg3
= (int) wxBORDER_NONE
;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7283 (char *) "self",(char *) "parent",(char *) "flags", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= PyInt_FromLong((long)result
);
7303 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7310 PyObject
* obj0
= 0 ;
7311 PyObject
* obj1
= 0 ;
7312 PyObject
* obj2
= 0 ;
7314 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7325 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 Py_INCREF(Py_None
); resultobj
= Py_None
;
7341 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7344 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7346 return Py_BuildValue((char *)"");
7348 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxWindow
*arg1
= (wxWindow
*) 0 ;
7351 int arg2
= (int) wxBORDER_NONE
;
7352 wxPyPopupTransientWindow
*result
;
7353 PyObject
* obj0
= 0 ;
7355 (char *) "parent",(char *) "style", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7374 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxPyPopupTransientWindow
*result
;
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7396 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7399 PyObject
*arg2
= (PyObject
*) 0 ;
7400 PyObject
*arg3
= (PyObject
*) 0 ;
7401 PyObject
* obj0
= 0 ;
7402 PyObject
* obj1
= 0 ;
7403 PyObject
* obj2
= 0 ;
7405 (char *) "self",(char *) "self",(char *) "_class", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 Py_INCREF(Py_None
); resultobj
= Py_None
;
7426 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7429 wxWindow
*arg2
= (wxWindow
*) NULL
;
7430 PyObject
* obj0
= 0 ;
7431 PyObject
* obj1
= 0 ;
7433 (char *) "self",(char *) "focus", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 (arg1
)->Popup(arg2
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 Py_INCREF(Py_None
); resultobj
= Py_None
;
7455 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7460 (char *) "self", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7479 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7482 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7484 return Py_BuildValue((char *)"");
7486 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxWindow
*arg1
= (wxWindow
*) 0 ;
7489 wxString
*arg2
= 0 ;
7490 int arg3
= (int) 100 ;
7491 wxRect
*arg4
= (wxRect
*) NULL
;
7492 wxTipWindow
*result
;
7493 bool temp2
= False
;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7496 PyObject
* obj3
= 0 ;
7498 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7504 arg2
= wxString_in_helper(obj1
);
7505 if (arg2
== NULL
) SWIG_fail
;
7509 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7533 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "self",(char *) "rectBound", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7548 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7567 PyObject
* obj0
= 0 ;
7569 (char *) "self", NULL
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7591 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7593 return Py_BuildValue((char *)"");
7595 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxWindow
*arg1
= (wxWindow
*) 0 ;
7598 int arg2
= (int) wxID_ANY
;
7599 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7600 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7601 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7602 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7603 long arg5
= (long) 0 ;
7604 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7605 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7606 wxPyVScrolledWindow
*result
;
7609 bool temp6
= False
;
7610 PyObject
* obj0
= 0 ;
7611 PyObject
* obj2
= 0 ;
7612 PyObject
* obj3
= 0 ;
7613 PyObject
* obj5
= 0 ;
7615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7634 arg6
= wxString_in_helper(obj5
);
7635 if (arg6
== NULL
) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7661 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxPyVScrolledWindow
*result
;
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7683 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7686 PyObject
*arg2
= (PyObject
*) 0 ;
7687 PyObject
*arg3
= (PyObject
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7689 PyObject
* obj1
= 0 ;
7690 PyObject
* obj2
= 0 ;
7692 (char *) "self",(char *) "self",(char *) "_class", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7716 wxWindow
*arg2
= (wxWindow
*) 0 ;
7717 int arg3
= (int) wxID_ANY
;
7718 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7719 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7720 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7721 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7722 long arg6
= (long) 0 ;
7723 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7724 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7728 bool temp7
= False
;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7731 PyObject
* obj3
= 0 ;
7732 PyObject
* obj4
= 0 ;
7733 PyObject
* obj6
= 0 ;
7735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7755 arg7
= wxString_in_helper(obj6
);
7756 if (arg7
== NULL
) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= PyInt_FromLong((long)result
);
7782 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7789 (char *) "self",(char *) "count", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7794 arg2
= (size_t) PyInt_AsLong(obj1
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 (arg1
)->SetLineCount(arg2
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 Py_INCREF(Py_None
); resultobj
= Py_None
;
7810 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7818 (char *) "self",(char *) "line", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7823 arg2
= (size_t) PyInt_AsLong(obj1
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (bool)(arg1
)->ScrollToLine(arg2
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= PyInt_FromLong((long)result
);
7839 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7844 PyObject
* obj0
= 0 ;
7846 (char *) "self",(char *) "lines", NULL
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
7850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (bool)(arg1
)->ScrollLines(arg2
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= PyInt_FromLong((long)result
);
7865 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7870 PyObject
* obj0
= 0 ;
7872 (char *) "self",(char *) "pages", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
7876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (bool)(arg1
)->ScrollPages(arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= PyInt_FromLong((long)result
);
7891 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7898 (char *) "self",(char *) "line", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7903 arg2
= (size_t) PyInt_AsLong(obj1
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 (arg1
)->RefreshLine(arg2
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7919 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7926 PyObject
* obj2
= 0 ;
7928 (char *) "self",(char *) "from",(char *) "to", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7933 arg2
= (size_t) PyInt_AsLong(obj1
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7935 arg3
= (size_t) PyInt_AsLong(obj2
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 (arg1
)->RefreshLines(arg2
,arg3
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7951 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "self",(char *) "x",(char *) "y", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= PyInt_FromLong((long)result
);
7978 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7985 PyObject
* obj1
= 0 ;
7987 (char *) "self",(char *) "pt", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= PyInt_FromLong((long)result
);
8010 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 (arg1
)->RefreshAll();
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 Py_INCREF(Py_None
); resultobj
= Py_None
;
8034 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= PyInt_FromLong((long)result
);
8059 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= PyInt_FromLong((long)result
);
8084 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "self", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= PyInt_FromLong((long)result
);
8109 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8115 PyObject
* obj1
= 0 ;
8117 (char *) "self",(char *) "line", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8122 arg2
= (size_t) PyInt_AsLong(obj1
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= PyInt_FromLong((long)result
);
8138 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8141 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8143 return Py_BuildValue((char *)"");
8145 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxWindow
*arg1
= (wxWindow
*) 0 ;
8148 int arg2
= (int) wxID_ANY
;
8149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8153 long arg5
= (long) 0 ;
8154 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8155 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8156 wxPyVListBox
*result
;
8159 bool temp6
= False
;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj2
= 0 ;
8162 PyObject
* obj3
= 0 ;
8163 PyObject
* obj5
= 0 ;
8165 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8179 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8184 arg6
= wxString_in_helper(obj5
);
8185 if (arg6
== NULL
) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8211 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxPyVListBox
*result
;
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (wxPyVListBox
*)new wxPyVListBox();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8233 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8236 PyObject
*arg2
= (PyObject
*) 0 ;
8237 PyObject
*arg3
= (PyObject
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 PyObject
* obj2
= 0 ;
8242 (char *) "self",(char *) "self",(char *) "_class", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8266 wxWindow
*arg2
= (wxWindow
*) 0 ;
8267 int arg3
= (int) wxID_ANY
;
8268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8272 long arg6
= (long) 0 ;
8273 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8278 bool temp7
= False
;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8281 PyObject
* obj3
= 0 ;
8282 PyObject
* obj4
= 0 ;
8283 PyObject
* obj6
= 0 ;
8285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8290 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8305 arg7
= wxString_in_helper(obj6
);
8306 if (arg7
== NULL
) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= PyInt_FromLong((long)result
);
8332 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "self", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= PyInt_FromLong((long)result
);
8357 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8361 PyObject
* obj0
= 0 ;
8363 (char *) "self", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= PyInt_FromLong((long)result
);
8382 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= PyInt_FromLong((long)result
);
8407 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8415 (char *) "self",(char *) "item", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8420 arg2
= (size_t) PyInt_AsLong(obj1
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= PyInt_FromLong((long)result
);
8436 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8442 PyObject
* obj1
= 0 ;
8444 (char *) "self",(char *) "item", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 arg2
= (size_t) PyInt_AsLong(obj1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= PyInt_FromLong((long)result
);
8465 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8471 (char *) "self", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= PyInt_FromLong((long)result
);
8490 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8493 unsigned long *arg2
= 0 ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8498 (char *) "self",(char *) "cookie", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= PyInt_FromLong((long)result
);
8521 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8524 unsigned long *arg2
= 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "cookie", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= PyInt_FromLong((long)result
);
8552 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8556 PyObject
* obj0
= 0 ;
8558 (char *) "self", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 wxPoint
* resultptr
;
8572 resultptr
= new wxPoint((wxPoint
&) result
);
8573 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8581 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "self", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8596 result
= (wxColour
*) &_result_ref
;
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8609 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8613 PyObject
* obj0
= 0 ;
8614 PyObject
* obj1
= 0 ;
8616 (char *) "self",(char *) "count", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8621 arg2
= (size_t) PyInt_AsLong(obj1
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 (arg1
)->SetItemCount(arg2
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 Py_INCREF(Py_None
); resultobj
= Py_None
;
8637 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8640 PyObject
* obj0
= 0 ;
8642 (char *) "self", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 Py_INCREF(Py_None
); resultobj
= Py_None
;
8661 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8667 (char *) "self",(char *) "selection", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 (arg1
)->SetSelection(arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8690 bool arg3
= (bool) True
;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8694 PyObject
* obj2
= 0 ;
8696 (char *) "self",(char *) "item",(char *) "select", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8701 arg2
= (size_t) PyInt_AsLong(obj1
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 arg3
= PyInt_AsLong(obj2
) ? true : false;
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= PyInt_FromLong((long)result
);
8721 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8729 PyObject
* obj2
= 0 ;
8731 (char *) "self",(char *) "from",(char *) "to", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 arg2
= (size_t) PyInt_AsLong(obj1
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8738 arg3
= (size_t) PyInt_AsLong(obj2
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= PyInt_FromLong((long)result
);
8754 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8761 (char *) "self",(char *) "item", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8766 arg2
= (size_t) PyInt_AsLong(obj1
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->Toggle(arg2
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (bool)(arg1
)->SelectAll();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= PyInt_FromLong((long)result
);
8807 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8813 (char *) "self", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
8817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (bool)(arg1
)->DeselectAll();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= PyInt_FromLong((long)result
);
8832 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 (char *) "self",(char *) "pt", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 Py_INCREF(Py_None
); resultobj
= Py_None
;
8863 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self",(char *) "x",(char *) "y", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 (arg1
)->SetMargins(arg2
,arg3
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 Py_INCREF(Py_None
); resultobj
= Py_None
;
8889 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8892 wxColour
*arg2
= 0 ;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8897 (char *) "self",(char *) "col", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8904 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
8922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8923 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
8925 return Py_BuildValue((char *)"");
8927 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxWindow
*arg1
= (wxWindow
*) 0 ;
8930 int arg2
= (int) wxID_ANY
;
8931 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8932 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8933 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8934 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8935 long arg5
= (long) 0 ;
8936 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8937 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8938 wxPyHtmlListBox
*result
;
8941 bool temp6
= False
;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj2
= 0 ;
8944 PyObject
* obj3
= 0 ;
8945 PyObject
* obj5
= 0 ;
8947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8966 arg6
= wxString_in_helper(obj5
);
8967 if (arg6
== NULL
) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
8993 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxPyHtmlListBox
*result
;
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9015 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9018 PyObject
*arg2
= (PyObject
*) 0 ;
9019 PyObject
*arg3
= (PyObject
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9022 PyObject
* obj2
= 0 ;
9024 (char *) "self",(char *) "self",(char *) "_class", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9048 wxWindow
*arg2
= (wxWindow
*) 0 ;
9049 int arg3
= (int) wxID_ANY
;
9050 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9051 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9052 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9053 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9054 long arg6
= (long) 0 ;
9055 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9056 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9060 bool temp7
= False
;
9061 PyObject
* obj0
= 0 ;
9062 PyObject
* obj1
= 0 ;
9063 PyObject
* obj3
= 0 ;
9064 PyObject
* obj4
= 0 ;
9065 PyObject
* obj6
= 0 ;
9067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9087 arg7
= wxString_in_helper(obj6
);
9088 if (arg7
== NULL
) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= PyInt_FromLong((long)result
);
9114 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 (arg1
)->RefreshAll();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 Py_INCREF(Py_None
); resultobj
= Py_None
;
9138 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9145 (char *) "self",(char *) "count", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9150 arg2
= (size_t) PyInt_AsLong(obj1
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 (arg1
)->SetItemCount(arg2
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 Py_INCREF(Py_None
); resultobj
= Py_None
;
9166 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9169 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9171 return Py_BuildValue((char *)"");
9173 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxTaskBarIcon
*result
;
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9195 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 Py_INCREF(Py_None
); resultobj
= Py_None
;
9219 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9225 (char *) "self", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= PyInt_FromLong((long)result
);
9244 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= PyInt_FromLong((long)result
);
9269 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9273 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9274 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9276 bool temp3
= False
;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 PyObject
* obj2
= 0 ;
9281 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9286 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9288 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9292 arg3
= wxString_in_helper(obj2
);
9293 if (arg3
== NULL
) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= PyInt_FromLong((long)result
);
9319 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9325 (char *) "self", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (bool)(arg1
)->RemoveIcon();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= PyInt_FromLong((long)result
);
9344 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9347 wxMenu
*arg2
= (wxMenu
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9352 (char *) "self",(char *) "menu", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (bool)(arg1
)->PopupMenu(arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= PyInt_FromLong((long)result
);
9372 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9375 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9377 return Py_BuildValue((char *)"");
9379 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9382 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9383 wxTaskBarIconEvent
*result
;
9384 PyObject
* obj1
= 0 ;
9386 (char *) "evtType",(char *) "tbIcon", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9405 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9408 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9410 return Py_BuildValue((char *)"");
9412 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
;
9414 wxColourData
*result
;
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (wxColourData
*)new wxColourData();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9434 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxColourData
*arg1
= (wxColourData
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "self", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 Py_INCREF(Py_None
); resultobj
= Py_None
;
9458 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxColourData
*arg1
= (wxColourData
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "self", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (bool)(arg1
)->GetChooseFull();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= PyInt_FromLong((long)result
);
9483 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxColourData
*arg1
= (wxColourData
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9489 (char *) "self", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (arg1
)->GetColour();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9502 wxColour
* resultptr
;
9503 resultptr
= new wxColour((wxColour
&) result
);
9504 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9512 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxColourData
*arg1
= (wxColourData
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "self",(char *) "i", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (arg1
)->GetCustomColour(arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 wxColour
* resultptr
;
9533 resultptr
= new wxColour((wxColour
&) result
);
9534 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9542 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxColourData
*arg1
= (wxColourData
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "self",(char *) "flag", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 (arg1
)->SetChooseFull(arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 Py_INCREF(Py_None
); resultobj
= Py_None
;
9567 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxColourData
*arg1
= (wxColourData
*) 0 ;
9570 wxColour
*arg2
= 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9575 (char *) "self",(char *) "colour", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9582 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 (arg1
)->SetColour((wxColour
const &)*arg2
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 Py_INCREF(Py_None
); resultobj
= Py_None
;
9598 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxColourData
*arg1
= (wxColourData
*) 0 ;
9602 wxColour
*arg3
= 0 ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj2
= 0 ;
9607 (char *) "self",(char *) "i",(char *) "colour", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9614 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 Py_INCREF(Py_None
); resultobj
= Py_None
;
9630 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9633 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9635 return Py_BuildValue((char *)"");
9637 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxWindow
*arg1
= (wxWindow
*) 0 ;
9640 wxColourData
*arg2
= (wxColourData
*) NULL
;
9641 wxColourDialog
*result
;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9645 (char *) "parent",(char *) "data", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9667 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9670 wxColourData
*result
;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "self", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9682 result
= (wxColourData
*) &_result_ref
;
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9695 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "self", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (int)(arg1
)->ShowModal();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= PyInt_FromLong((long)result
);
9720 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9723 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
9725 return Py_BuildValue((char *)"");
9727 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxWindow
*arg1
= (wxWindow
*) 0 ;
9730 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
9731 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9732 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9734 long arg4
= (long) 0 ;
9735 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9736 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9737 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9738 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9739 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
9740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9741 wxDirDialog
*result
;
9742 bool temp2
= False
;
9743 bool temp3
= False
;
9746 bool temp7
= False
;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 PyObject
* obj2
= 0 ;
9750 PyObject
* obj4
= 0 ;
9751 PyObject
* obj5
= 0 ;
9752 PyObject
* obj6
= 0 ;
9754 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9761 arg2
= wxString_in_helper(obj1
);
9762 if (arg2
== NULL
) SWIG_fail
;
9768 arg3
= wxString_in_helper(obj2
);
9769 if (arg3
== NULL
) SWIG_fail
;
9776 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9782 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9787 arg7
= wxString_in_helper(obj6
);
9788 if (arg7
== NULL
) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
9830 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9836 (char *) "self", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (arg1
)->GetPath();
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9861 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9865 PyObject
* obj0
= 0 ;
9867 (char *) "self", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (arg1
)->GetMessage();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9892 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
9902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (long)(arg1
)->GetStyle();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= PyInt_FromLong((long)result
);
9917 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9920 wxString
*arg2
= 0 ;
9921 bool temp2
= False
;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9925 (char *) "self",(char *) "message", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9931 arg2
= wxString_in_helper(obj1
);
9932 if (arg2
== NULL
) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 (arg1
)->SetMessage((wxString
const &)*arg2
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 Py_INCREF(Py_None
); resultobj
= Py_None
;
9957 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
9960 wxString
*arg2
= 0 ;
9961 bool temp2
= False
;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9965 (char *) "self",(char *) "path", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9971 arg2
= wxString_in_helper(obj1
);
9972 if (arg2
== NULL
) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->SetPath((wxString
const &)*arg2
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 Py_INCREF(Py_None
); resultobj
= Py_None
;
9997 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (int)(arg1
)->ShowModal();
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= PyInt_FromLong((long)result
);
10022 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10025 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10027 return Py_BuildValue((char *)"");
10029 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxWindow
*arg1
= (wxWindow
*) 0 ;
10032 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10033 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10034 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10035 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10036 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10037 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10038 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10039 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10040 long arg6
= (long) 0 ;
10041 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10042 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10043 wxFileDialog
*result
;
10044 bool temp2
= False
;
10045 bool temp3
= False
;
10046 bool temp4
= False
;
10047 bool temp5
= False
;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 PyObject
* obj2
= 0 ;
10052 PyObject
* obj3
= 0 ;
10053 PyObject
* obj4
= 0 ;
10054 PyObject
* obj6
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10063 arg2
= wxString_in_helper(obj1
);
10064 if (arg2
== NULL
) SWIG_fail
;
10070 arg3
= wxString_in_helper(obj2
);
10071 if (arg3
== NULL
) SWIG_fail
;
10077 arg4
= wxString_in_helper(obj3
);
10078 if (arg4
== NULL
) SWIG_fail
;
10084 arg5
= wxString_in_helper(obj4
);
10085 if (arg5
== NULL
) SWIG_fail
;
10092 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10141 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10144 wxString
*arg2
= 0 ;
10145 bool temp2
= False
;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "message", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10155 arg2
= wxString_in_helper(obj1
);
10156 if (arg2
== NULL
) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 (arg1
)->SetMessage((wxString
const &)*arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 Py_INCREF(Py_None
); resultobj
= Py_None
;
10181 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10184 wxString
*arg2
= 0 ;
10185 bool temp2
= False
;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self",(char *) "path", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10195 arg2
= wxString_in_helper(obj1
);
10196 if (arg2
== NULL
) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 (arg1
)->SetPath((wxString
const &)*arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10221 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10224 wxString
*arg2
= 0 ;
10225 bool temp2
= False
;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self",(char *) "dir", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10235 arg2
= wxString_in_helper(obj1
);
10236 if (arg2
== NULL
) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10264 wxString
*arg2
= 0 ;
10265 bool temp2
= False
;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "name", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10275 arg2
= wxString_in_helper(obj1
);
10276 if (arg2
== NULL
) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 (arg1
)->SetFilename((wxString
const &)*arg2
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 Py_INCREF(Py_None
); resultobj
= Py_None
;
10301 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10304 wxString
*arg2
= 0 ;
10305 bool temp2
= False
;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "self",(char *) "wildCard", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10315 arg2
= wxString_in_helper(obj1
);
10316 if (arg2
== NULL
) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 Py_INCREF(Py_None
); resultobj
= Py_None
;
10341 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "style", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->SetStyle(arg2
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 Py_INCREF(Py_None
); resultobj
= Py_None
;
10366 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "filterIndex", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->SetFilterIndex(arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10391 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10422 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10453 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10484 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10515 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10546 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10550 PyObject
* obj0
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= PyInt_FromLong((long)result
);
10571 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= PyInt_FromLong((long)result
);
10596 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= result
;
10621 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= result
;
10646 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10651 return Py_BuildValue((char *)"");
10653 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxWindow
*arg1
= (wxWindow
*) 0 ;
10656 wxString
*arg2
= 0 ;
10657 wxString
*arg3
= 0 ;
10659 wxString
*arg5
= (wxString
*) 0 ;
10660 long arg6
= (long) wxCHOICEDLG_STYLE
;
10661 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10662 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10663 wxMultiChoiceDialog
*result
;
10664 bool temp2
= False
;
10665 bool temp3
= False
;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 PyObject
* obj2
= 0 ;
10670 PyObject
* obj4
= 0 ;
10671 PyObject
* obj6
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10679 arg2
= wxString_in_helper(obj1
);
10680 if (arg2
== NULL
) SWIG_fail
;
10684 arg3
= wxString_in_helper(obj2
);
10685 if (arg3
== NULL
) SWIG_fail
;
10688 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
10725 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10728 wxArrayInt
*arg2
= 0 ;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self",(char *) "selections", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10738 if (! PySequence_Check(obj1
)) {
10739 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10742 arg2
= new wxArrayInt
;
10743 int i
, len
=PySequence_Length(obj1
);
10744 for (i
=0; i
<len
; i
++) {
10745 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10746 PyObject
* number
= PyNumber_Int(item
);
10747 arg2
->Add(PyInt_AS_LONG(number
));
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 if (arg2
) delete arg2
;
10766 if (arg2
) delete arg2
;
10772 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= result
;
10797 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
10802 return Py_BuildValue((char *)"");
10804 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxWindow
*arg1
= (wxWindow
*) 0 ;
10807 wxString
*arg2
= 0 ;
10808 wxString
*arg3
= 0 ;
10810 wxString
*arg5
= (wxString
*) 0 ;
10811 long arg6
= (long) wxCHOICEDLG_STYLE
;
10812 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10813 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10814 wxSingleChoiceDialog
*result
;
10815 bool temp2
= False
;
10816 bool temp3
= False
;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 PyObject
* obj3
= 0 ;
10822 PyObject
* obj5
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10830 arg2
= wxString_in_helper(obj1
);
10831 if (arg2
== NULL
) SWIG_fail
;
10835 arg3
= wxString_in_helper(obj2
);
10836 if (arg3
== NULL
) SWIG_fail
;
10840 arg4
= PyList_Size(obj3
);
10841 arg5
= wxString_LIST_helper(obj3
);
10842 if (arg5
== NULL
) SWIG_fail
;
10847 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
10867 if (arg5
) delete [] arg5
;
10880 if (arg5
) delete [] arg5
;
10886 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (int)(arg1
)->GetSelection();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= PyInt_FromLong((long)result
);
10911 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= (arg1
)->GetStringSelection();
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10942 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10946 PyObject
* obj0
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "sel", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 (arg1
)->SetSelection(arg2
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 Py_INCREF(Py_None
); resultobj
= Py_None
;
10967 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (int)(arg1
)->ShowModal();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= PyInt_FromLong((long)result
);
10992 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10995 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
10997 return Py_BuildValue((char *)"");
10999 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxWindow
*arg1
= (wxWindow
*) 0 ;
11002 wxString
*arg2
= 0 ;
11003 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11004 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11005 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11006 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11007 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11008 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11009 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11010 wxTextEntryDialog
*result
;
11011 bool temp2
= False
;
11012 bool temp3
= False
;
11013 bool temp4
= False
;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 PyObject
* obj2
= 0 ;
11018 PyObject
* obj3
= 0 ;
11019 PyObject
* obj5
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11027 arg2
= wxString_in_helper(obj1
);
11028 if (arg2
== NULL
) SWIG_fail
;
11033 arg3
= wxString_in_helper(obj2
);
11034 if (arg3
== NULL
) SWIG_fail
;
11040 arg4
= wxString_in_helper(obj3
);
11041 if (arg4
== NULL
) SWIG_fail
;
11048 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11089 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (arg1
)->GetValue();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11120 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11123 wxString
*arg2
= 0 ;
11124 bool temp2
= False
;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "value", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 arg2
= wxString_in_helper(obj1
);
11135 if (arg2
== NULL
) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->SetValue((wxString
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (int)(arg1
)->ShowModal();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= PyInt_FromLong((long)result
);
11185 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11188 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11190 return Py_BuildValue((char *)"");
11192 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxFontData
*result
;
11195 char *kwnames
[] = {
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (wxFontData
*)new wxFontData();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11214 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxFontData
*arg1
= (wxFontData
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 Py_INCREF(Py_None
); resultobj
= Py_None
;
11238 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11240 wxFontData
*arg1
= (wxFontData
*) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "enable", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11250 arg2
= PyInt_AsLong(obj1
) ? true : false;
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 (arg1
)->EnableEffects(arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 Py_INCREF(Py_None
); resultobj
= Py_None
;
11266 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxFontData
*arg1
= (wxFontData
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (bool)(arg1
)->GetAllowSymbols();
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= PyInt_FromLong((long)result
);
11291 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxFontData
*arg1
= (wxFontData
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (arg1
)->GetColour();
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11310 wxColour
* resultptr
;
11311 resultptr
= new wxColour((wxColour
&) result
);
11312 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11320 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11322 wxFontData
*arg1
= (wxFontData
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (arg1
)->GetChosenFont();
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 wxFont
* resultptr
;
11340 resultptr
= new wxFont((wxFont
&) result
);
11341 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11349 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxFontData
*arg1
= (wxFontData
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 char *kwnames
[] = {
11355 (char *) "self", NULL
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (bool)(arg1
)->GetEnableEffects();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= PyInt_FromLong((long)result
);
11374 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxFontData
*arg1
= (wxFontData
*) 0 ;
11378 PyObject
* obj0
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (arg1
)->GetInitialFont();
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11393 wxFont
* resultptr
;
11394 resultptr
= new wxFont((wxFont
&) result
);
11395 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11403 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxFontData
*arg1
= (wxFontData
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)(arg1
)->GetShowHelp();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= PyInt_FromLong((long)result
);
11428 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxFontData
*arg1
= (wxFontData
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "allowSymbols", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11440 arg2
= PyInt_AsLong(obj1
) ? true : false;
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->SetAllowSymbols(arg2
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxFontData
*arg1
= (wxFontData
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "font", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11468 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11469 if (arg2
== NULL
) {
11470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 Py_INCREF(Py_None
); resultobj
= Py_None
;
11486 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxFontData
*arg1
= (wxFontData
*) 0 ;
11489 wxColour
*arg2
= 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "colour", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11501 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 (arg1
)->SetColour((wxColour
const &)*arg2
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 Py_INCREF(Py_None
); resultobj
= Py_None
;
11517 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxFontData
*arg1
= (wxFontData
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "font", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11530 if (arg2
== NULL
) {
11531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11547 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxFontData
*arg1
= (wxFontData
*) 0 ;
11552 PyObject
* obj0
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "min",(char *) "max", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->SetRange(arg2
,arg3
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 Py_INCREF(Py_None
); resultobj
= Py_None
;
11573 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxFontData
*arg1
= (wxFontData
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "showHelp", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11585 arg2
= PyInt_AsLong(obj1
) ? true : false;
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->SetShowHelp(arg2
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11601 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11604 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11606 return Py_BuildValue((char *)"");
11608 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 wxWindow
*arg1
= (wxWindow
*) 0 ;
11611 wxFontData
*arg2
= 0 ;
11612 wxFontDialog
*result
;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "parent",(char *) "data", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11622 if (arg2
== NULL
) {
11623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11639 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11642 wxFontData
*result
;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11654 result
= (wxFontData
*) &_result_ref
;
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11667 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (int)(arg1
)->ShowModal();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= PyInt_FromLong((long)result
);
11692 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11695 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
11697 return Py_BuildValue((char *)"");
11699 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxWindow
*arg1
= (wxWindow
*) 0 ;
11702 wxString
*arg2
= 0 ;
11703 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
11704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11705 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11706 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11707 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11708 wxMessageDialog
*result
;
11709 bool temp2
= False
;
11710 bool temp3
= False
;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 PyObject
* obj2
= 0 ;
11715 PyObject
* obj4
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
11721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11723 arg2
= wxString_in_helper(obj1
);
11724 if (arg2
== NULL
) SWIG_fail
;
11729 arg3
= wxString_in_helper(obj2
);
11730 if (arg3
== NULL
) SWIG_fail
;
11737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
11770 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
11774 PyObject
* obj0
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (int)(arg1
)->ShowModal();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= PyInt_FromLong((long)result
);
11795 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
11800 return Py_BuildValue((char *)"");
11802 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxString
*arg1
= 0 ;
11805 wxString
*arg2
= 0 ;
11806 int arg3
= (int) 100 ;
11807 wxWindow
*arg4
= (wxWindow
*) NULL
;
11808 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
11809 wxProgressDialog
*result
;
11810 bool temp1
= False
;
11811 bool temp2
= False
;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 PyObject
* obj3
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
11821 arg1
= wxString_in_helper(obj0
);
11822 if (arg1
== NULL
) SWIG_fail
;
11826 arg2
= wxString_in_helper(obj1
);
11827 if (arg2
== NULL
) SWIG_fail
;
11831 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
11863 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11867 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11868 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11870 bool temp3
= False
;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11881 arg3
= wxString_in_helper(obj2
);
11882 if (arg3
== NULL
) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= PyInt_FromLong((long)result
);
11908 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 Py_INCREF(Py_None
); resultobj
= Py_None
;
11932 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11935 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
11937 return Py_BuildValue((char *)"");
11939 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11942 int arg2
= (int) 0 ;
11943 wxFindDialogEvent
*result
;
11944 char *kwnames
[] = {
11945 (char *) "commandType",(char *) "id", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
11963 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (int)(arg1
)->GetFlags();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= PyInt_FromLong((long)result
);
11988 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 wxString
const &_result_ref
= (arg1
)->GetFindString();
12003 result
= (wxString
*) &_result_ref
;
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12013 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12022 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12037 result
= (wxString
*) &_result_ref
;
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12047 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12056 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12059 wxFindReplaceDialog
*result
;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12081 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self",(char *) "flags", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->SetFlags(arg2
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 Py_INCREF(Py_None
); resultobj
= Py_None
;
12106 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12109 wxString
*arg2
= 0 ;
12110 bool temp2
= False
;
12111 PyObject
* obj0
= 0 ;
12112 PyObject
* obj1
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "str", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12120 arg2
= wxString_in_helper(obj1
);
12121 if (arg2
== NULL
) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 (arg1
)->SetFindString((wxString
const &)*arg2
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 Py_INCREF(Py_None
); resultobj
= Py_None
;
12146 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12149 wxString
*arg2
= 0 ;
12150 bool temp2
= False
;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self",(char *) "str", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12160 arg2
= wxString_in_helper(obj1
);
12161 if (arg2
== NULL
) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 Py_INCREF(Py_None
); resultobj
= Py_None
;
12186 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12189 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12191 return Py_BuildValue((char *)"");
12193 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 int arg1
= (int) 0 ;
12196 wxFindReplaceData
*result
;
12197 char *kwnames
[] = {
12198 (char *) "flags", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12216 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 Py_INCREF(Py_None
); resultobj
= Py_None
;
12240 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 wxString
const &_result_ref
= (arg1
)->GetFindString();
12255 result
= (wxString
*) &_result_ref
;
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12274 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12289 result
= (wxString
*) &_result_ref
;
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12299 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12308 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (int)(arg1
)->GetFlags();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= PyInt_FromLong((long)result
);
12333 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self",(char *) "flags", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetFlags(arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12361 wxString
*arg2
= 0 ;
12362 bool temp2
= False
;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "str", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 arg2
= wxString_in_helper(obj1
);
12373 if (arg2
== NULL
) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 (arg1
)->SetFindString((wxString
const &)*arg2
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 Py_INCREF(Py_None
); resultobj
= Py_None
;
12398 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12401 wxString
*arg2
= 0 ;
12402 bool temp2
= False
;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self",(char *) "str", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12412 arg2
= wxString_in_helper(obj1
);
12413 if (arg2
== NULL
) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12441 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12443 return Py_BuildValue((char *)"");
12445 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 wxWindow
*arg1
= (wxWindow
*) 0 ;
12448 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12449 wxString
*arg3
= 0 ;
12450 int arg4
= (int) 0 ;
12451 wxFindReplaceDialog
*result
;
12452 bool temp3
= False
;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 PyObject
* obj2
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12464 arg3
= wxString_in_helper(obj2
);
12465 if (arg3
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12490 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxFindReplaceDialog
*result
;
12493 char *kwnames
[] = {
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12512 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12515 wxWindow
*arg2
= (wxWindow
*) 0 ;
12516 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12517 wxString
*arg4
= 0 ;
12518 int arg5
= (int) 0 ;
12520 bool temp4
= False
;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 PyObject
* obj2
= 0 ;
12524 PyObject
* obj3
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12531 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12532 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12534 arg4
= wxString_in_helper(obj3
);
12535 if (arg4
== NULL
) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= PyInt_FromLong((long)result
);
12560 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12563 wxFindReplaceData
*result
;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12585 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12588 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self",(char *) "data", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->SetData(arg2
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12615 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12617 return Py_BuildValue((char *)"");
12619 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxWindow
*arg1
= (wxWindow
*) 0 ;
12623 wxString
*arg3
= 0 ;
12624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12628 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12629 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12631 wxMDIParentFrame
*result
;
12632 bool temp3
= False
;
12635 bool temp7
= False
;
12636 PyObject
* obj0
= 0 ;
12637 PyObject
* obj2
= 0 ;
12638 PyObject
* obj3
= 0 ;
12639 PyObject
* obj4
= 0 ;
12640 PyObject
* obj6
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12648 arg3
= wxString_in_helper(obj2
);
12649 if (arg3
== NULL
) SWIG_fail
;
12655 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12661 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12666 arg7
= wxString_in_helper(obj6
);
12667 if (arg7
== NULL
) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12701 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxMDIParentFrame
*result
;
12704 char *kwnames
[] = {
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12723 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12726 wxWindow
*arg2
= (wxWindow
*) 0 ;
12728 wxString
*arg4
= 0 ;
12729 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12730 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12731 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12732 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12733 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12734 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12735 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12737 bool temp4
= False
;
12740 bool temp8
= False
;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 PyObject
* obj3
= 0 ;
12744 PyObject
* obj4
= 0 ;
12745 PyObject
* obj5
= 0 ;
12746 PyObject
* obj7
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
12752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12755 arg4
= wxString_in_helper(obj3
);
12756 if (arg4
== NULL
) SWIG_fail
;
12762 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12768 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12773 arg8
= wxString_in_helper(obj7
);
12774 if (arg8
== NULL
) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= PyInt_FromLong((long)result
);
12808 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12811 PyObject
* obj0
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "self", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
12817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->ActivateNext();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 Py_INCREF(Py_None
); resultobj
= Py_None
;
12832 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->ActivatePrevious();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 Py_INCREF(Py_None
); resultobj
= Py_None
;
12856 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 (arg1
)->ArrangeIcons();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 Py_INCREF(Py_None
); resultobj
= Py_None
;
12880 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12907 wxMDIChildFrame
*result
;
12908 PyObject
* obj0
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
12914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= wxPyMake_wxObject(result
);
12931 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12934 wxMDIClientWindow
*result
;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= wxPyMake_wxObject(result
);
12958 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (wxWindow
*)(arg1
)->GetToolBar();
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= wxPyMake_wxObject(result
);
12985 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13012 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13014 return Py_BuildValue((char *)"");
13016 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13020 wxString
*arg3
= 0 ;
13021 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13022 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13023 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13024 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13025 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13026 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13027 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13028 wxMDIChildFrame
*result
;
13029 bool temp3
= False
;
13032 bool temp7
= False
;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj2
= 0 ;
13035 PyObject
* obj3
= 0 ;
13036 PyObject
* obj4
= 0 ;
13037 PyObject
* obj6
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13045 arg3
= wxString_in_helper(obj2
);
13046 if (arg3
== NULL
) SWIG_fail
;
13052 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13058 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13063 arg7
= wxString_in_helper(obj6
);
13064 if (arg7
== NULL
) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= wxPyMake_wxObject(result
);
13100 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxMDIChildFrame
*result
;
13103 char *kwnames
[] = {
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= wxPyMake_wxObject(result
);
13124 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13127 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13129 wxString
*arg4
= 0 ;
13130 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13131 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13132 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13133 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13134 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13135 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13138 bool temp4
= False
;
13141 bool temp8
= False
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj3
= 0 ;
13145 PyObject
* obj4
= 0 ;
13146 PyObject
* obj5
= 0 ;
13147 PyObject
* obj7
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13156 arg4
= wxString_in_helper(obj3
);
13157 if (arg4
== NULL
) SWIG_fail
;
13163 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13169 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13174 arg8
= wxString_in_helper(obj7
);
13175 if (arg8
== NULL
) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= PyInt_FromLong((long)result
);
13209 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13212 PyObject
* obj0
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 (arg1
)->Activate();
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self",(char *) "maximize", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13245 arg2
= PyInt_AsLong(obj1
) ? true : false;
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 (arg1
)->Maximize(arg2
);
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 Py_INCREF(Py_None
); resultobj
= Py_None
;
13261 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 Py_INCREF(Py_None
); resultobj
= Py_None
;
13285 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13288 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13290 return Py_BuildValue((char *)"");
13292 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13295 long arg2
= (long) 0 ;
13296 wxMDIClientWindow
*result
;
13297 PyObject
* obj0
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "parent",(char *) "style", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= wxPyMake_wxObject(result
);
13320 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxMDIClientWindow
*result
;
13323 char *kwnames
[] = {
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= wxPyMake_wxObject(result
);
13344 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13347 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13348 long arg3
= (long) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "parent",(char *) "style", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= PyInt_FromLong((long)result
);
13373 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13376 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13378 return Py_BuildValue((char *)"");
13380 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxWindow
*arg1
= (wxWindow
*) 0 ;
13384 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13385 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13386 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13387 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13388 long arg5
= (long) 0 ;
13389 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13390 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13391 wxPyWindow
*result
;
13394 bool temp6
= False
;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj2
= 0 ;
13397 PyObject
* obj3
= 0 ;
13398 PyObject
* obj5
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13419 arg6
= wxString_in_helper(obj5
);
13420 if (arg6
== NULL
) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13446 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13449 PyObject
*arg2
= (PyObject
*) 0 ;
13450 PyObject
*arg3
= (PyObject
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 PyObject
* obj2
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "self",(char *) "_class", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 Py_INCREF(Py_None
); resultobj
= Py_None
;
13476 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13511 int arg6
= (int) wxSIZE_AUTO
;
13512 PyObject
* obj0
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 Py_INCREF(Py_None
); resultobj
= Py_None
;
13533 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "width",(char *) "height", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 Py_INCREF(Py_None
); resultobj
= Py_None
;
13559 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "x",(char *) "y", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 Py_INCREF(Py_None
); resultobj
= Py_None
;
13585 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13588 int *arg2
= (int *) 0 ;
13589 int *arg3
= (int *) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 Py_INCREF(Py_None
); resultobj
= Py_None
;
13610 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13611 resultobj
= t_output_helper(resultobj
,o
);
13614 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13615 resultobj
= t_output_helper(resultobj
,o
);
13623 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13626 int *arg2
= (int *) 0 ;
13627 int *arg3
= (int *) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13649 resultobj
= t_output_helper(resultobj
,o
);
13652 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13653 resultobj
= t_output_helper(resultobj
,o
);
13661 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13664 int *arg2
= (int *) 0 ;
13665 int *arg3
= (int *) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
13676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 Py_INCREF(Py_None
); resultobj
= Py_None
;
13686 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13687 resultobj
= t_output_helper(resultobj
,o
);
13690 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13691 resultobj
= t_output_helper(resultobj
,o
);
13699 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 char *kwnames
[] = {
13705 (char *) "self", NULL
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
13709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 wxSize
* resultptr
;
13719 resultptr
= new wxSize((wxSize
&) result
);
13720 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13728 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 wxSize
* resultptr
;
13748 resultptr
= new wxSize((wxSize
&) result
);
13749 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13757 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->base_InitDialog();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (bool)(arg1
)->base_TransferDataToWindow();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= PyInt_FromLong((long)result
);
13806 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (bool)(arg1
)->base_TransferDataFromWindow();
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= PyInt_FromLong((long)result
);
13831 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)(arg1
)->base_Validate();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= PyInt_FromLong((long)result
);
13856 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= PyInt_FromLong((long)result
);
13881 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13885 PyObject
* obj0
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= PyInt_FromLong((long)result
);
13906 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13925 wxSize
* resultptr
;
13926 resultptr
= new wxSize((wxSize
&) result
);
13927 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13935 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13938 wxWindow
*arg2
= (wxWindow
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "child", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 (arg1
)->base_AddChild(arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 Py_INCREF(Py_None
); resultobj
= Py_None
;
13962 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13965 wxWindow
*arg2
= (wxWindow
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "child", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 (arg1
)->base_RemoveChild(arg2
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 Py_INCREF(Py_None
); resultobj
= Py_None
;
13989 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13992 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
13994 return Py_BuildValue((char *)"");
13996 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxWindow
*arg1
= (wxWindow
*) 0 ;
14000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14002 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14003 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14004 long arg5
= (long) 0 ;
14005 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14006 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14010 bool temp6
= False
;
14011 PyObject
* obj0
= 0 ;
14012 PyObject
* obj2
= 0 ;
14013 PyObject
* obj3
= 0 ;
14014 PyObject
* obj5
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14024 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14030 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14035 arg6
= wxString_in_helper(obj5
);
14036 if (arg6
== NULL
) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14062 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14065 PyObject
*arg2
= (PyObject
*) 0 ;
14066 PyObject
*arg3
= (PyObject
*) 0 ;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 PyObject
* obj2
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "self",(char *) "_class", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 Py_INCREF(Py_None
); resultobj
= Py_None
;
14092 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14127 int arg6
= (int) wxSIZE_AUTO
;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14149 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14154 PyObject
* obj0
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "width",(char *) "height", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 Py_INCREF(Py_None
); resultobj
= Py_None
;
14175 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self",(char *) "x",(char *) "y", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 Py_INCREF(Py_None
); resultobj
= Py_None
;
14201 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14204 int *arg2
= (int *) 0 ;
14205 int *arg3
= (int *) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 Py_INCREF(Py_None
); resultobj
= Py_None
;
14226 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14227 resultobj
= t_output_helper(resultobj
,o
);
14230 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14231 resultobj
= t_output_helper(resultobj
,o
);
14239 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14242 int *arg2
= (int *) 0 ;
14243 int *arg3
= (int *) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14265 resultobj
= t_output_helper(resultobj
,o
);
14268 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14269 resultobj
= t_output_helper(resultobj
,o
);
14277 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14280 int *arg2
= (int *) 0 ;
14281 int *arg3
= (int *) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 Py_INCREF(Py_None
); resultobj
= Py_None
;
14302 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14303 resultobj
= t_output_helper(resultobj
,o
);
14306 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14307 resultobj
= t_output_helper(resultobj
,o
);
14315 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 wxSize
* resultptr
;
14335 resultptr
= new wxSize((wxSize
&) result
);
14336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14344 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 wxSize
* resultptr
;
14364 resultptr
= new wxSize((wxSize
&) result
);
14365 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14373 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 (arg1
)->base_InitDialog();
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 Py_INCREF(Py_None
); resultobj
= Py_None
;
14397 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (bool)(arg1
)->base_TransferDataToWindow();
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= PyInt_FromLong((long)result
);
14422 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= PyInt_FromLong((long)result
);
14447 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 char *kwnames
[] = {
14453 (char *) "self", NULL
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (bool)(arg1
)->base_Validate();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= PyInt_FromLong((long)result
);
14472 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= PyInt_FromLong((long)result
);
14497 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= PyInt_FromLong((long)result
);
14522 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14541 wxSize
* resultptr
;
14542 resultptr
= new wxSize((wxSize
&) result
);
14543 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14551 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14554 wxWindow
*arg2
= (wxWindow
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "child", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->base_AddChild(arg2
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 Py_INCREF(Py_None
); resultobj
= Py_None
;
14578 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14581 wxWindow
*arg2
= (wxWindow
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "child", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 (arg1
)->base_RemoveChild(arg2
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 Py_INCREF(Py_None
); resultobj
= Py_None
;
14605 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14608 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14610 return Py_BuildValue((char *)"");
14612 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxPrintData
*result
;
14615 char *kwnames
[] = {
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (wxPrintData
*)new wxPrintData();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14634 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (int)(arg1
)->GetNoCopies();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= PyInt_FromLong((long)result
);
14683 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (bool)(arg1
)->GetCollate();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= PyInt_FromLong((long)result
);
14708 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (int)(arg1
)->GetOrientation();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= PyInt_FromLong((long)result
);
14733 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (bool)(arg1
)->Ok();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= PyInt_FromLong((long)result
);
14758 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
14773 result
= (wxString
*) &_result_ref
;
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14783 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14792 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)(arg1
)->GetColour();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= PyInt_FromLong((long)result
);
14817 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (int)(arg1
)->GetDuplex();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= PyInt_FromLong((long)result
);
14842 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)(arg1
)->GetPaperId();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= PyInt_FromLong((long)result
);
14867 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
14882 result
= (wxSize
*) &_result_ref
;
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14895 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14898 wxPrintQuality result
;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (arg1
)->GetQuality();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14914 wxPrintQuality
* resultptr
;
14915 resultptr
= new wxPrintQuality((wxPrintQuality
&) result
);
14916 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPrintQuality
, 1);
14924 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self",(char *) "v", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->SetNoCopies(arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "flag", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14961 arg2
= PyInt_AsLong(obj1
) ? true : false;
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->SetCollate(arg2
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 Py_INCREF(Py_None
); resultobj
= Py_None
;
14977 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self",(char *) "orient", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 (arg1
)->SetOrientation(arg2
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 Py_INCREF(Py_None
); resultobj
= Py_None
;
15002 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15005 wxString
*arg2
= 0 ;
15006 bool temp2
= False
;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self",(char *) "name", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15016 arg2
= wxString_in_helper(obj1
);
15017 if (arg2
== NULL
) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 Py_INCREF(Py_None
); resultobj
= Py_None
;
15042 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self",(char *) "colour", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15054 arg2
= PyInt_AsLong(obj1
) ? true : false;
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 (arg1
)->SetColour(arg2
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 Py_INCREF(Py_None
); resultobj
= Py_None
;
15070 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self",(char *) "duplex", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 Py_INCREF(Py_None
); resultobj
= Py_None
;
15095 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "sizeId", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self",(char *) "sz", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 Py_INCREF(Py_None
); resultobj
= Py_None
;
15151 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15154 wxPrintQuality arg2
;
15155 wxPrintQuality
*argp2
;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self",(char *) "quality", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15164 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPrintQuality
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->SetQuality(arg2
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 Py_INCREF(Py_None
); resultobj
= Py_None
;
15180 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15195 result
= (wxString
*) &_result_ref
;
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15214 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15229 result
= (wxString
*) &_result_ref
;
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15239 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15248 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15263 result
= (wxString
*) &_result_ref
;
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15273 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15282 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 wxString
const &_result_ref
= (arg1
)->GetFilename();
15297 result
= (wxString
*) &_result_ref
;
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15307 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15316 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15331 result
= (wxString
*) &_result_ref
;
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15350 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (double)(arg1
)->GetPrinterScaleX();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= PyFloat_FromDouble(result
);
15375 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 result
= (double)(arg1
)->GetPrinterScaleY();
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= PyFloat_FromDouble(result
);
15400 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (long)(arg1
)->GetPrinterTranslateX();
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= PyInt_FromLong((long)result
);
15425 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (long)(arg1
)->GetPrinterTranslateY();
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= PyInt_FromLong((long)result
);
15450 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 result
= (int)(arg1
)->GetPrintMode();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= PyInt_FromLong((long)result
);
15475 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15478 wxString
*arg2
= 0 ;
15479 bool temp2
= False
;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "command", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15489 arg2
= wxString_in_helper(obj1
);
15490 if (arg2
== NULL
) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 Py_INCREF(Py_None
); resultobj
= Py_None
;
15515 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15518 wxString
*arg2
= 0 ;
15519 bool temp2
= False
;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self",(char *) "options", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15529 arg2
= wxString_in_helper(obj1
);
15530 if (arg2
== NULL
) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15555 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15558 wxString
*arg2
= 0 ;
15559 bool temp2
= False
;
15560 PyObject
* obj0
= 0 ;
15561 PyObject
* obj1
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self",(char *) "command", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15569 arg2
= wxString_in_helper(obj1
);
15570 if (arg2
== NULL
) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 Py_INCREF(Py_None
); resultobj
= Py_None
;
15595 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15598 wxString
*arg2
= 0 ;
15599 bool temp2
= False
;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "filename", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15609 arg2
= wxString_in_helper(obj1
);
15610 if (arg2
== NULL
) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetFilename((wxString
const &)*arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15635 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15638 wxString
*arg2
= 0 ;
15639 bool temp2
= False
;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self",(char *) "path", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15649 arg2
= wxString_in_helper(obj1
);
15650 if (arg2
== NULL
) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self",(char *) "x", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->SetPrinterScaleX(arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 Py_INCREF(Py_None
); resultobj
= Py_None
;
15700 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "y", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 (arg1
)->SetPrinterScaleY(arg2
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15718 Py_INCREF(Py_None
); resultobj
= Py_None
;
15725 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15730 PyObject
* obj0
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self",(char *) "x",(char *) "y", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->SetPrinterScaling(arg2
,arg3
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 Py_INCREF(Py_None
); resultobj
= Py_None
;
15751 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self",(char *) "x", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
15761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 (arg1
)->SetPrinterTranslateX(arg2
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 Py_INCREF(Py_None
); resultobj
= Py_None
;
15776 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15780 PyObject
* obj0
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self",(char *) "y", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 (arg1
)->SetPrinterTranslateY(arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self",(char *) "x",(char *) "y", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15820 Py_INCREF(Py_None
); resultobj
= Py_None
;
15827 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15831 PyObject
* obj0
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self",(char *) "printMode", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
15854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15855 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
15857 return Py_BuildValue((char *)"");
15859 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxPageSetupDialogData
*result
;
15862 char *kwnames
[] = {
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
15881 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 Py_INCREF(Py_None
); resultobj
= Py_None
;
15905 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self",(char *) "flag", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15917 arg2
= PyInt_AsLong(obj1
) ? true : false;
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 (arg1
)->EnableHelp(arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 Py_INCREF(Py_None
); resultobj
= Py_None
;
15933 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "flag", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15945 arg2
= PyInt_AsLong(obj1
) ? true : false;
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 (arg1
)->EnableMargins(arg2
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 Py_INCREF(Py_None
); resultobj
= Py_None
;
15961 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "flag", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15973 arg2
= PyInt_AsLong(obj1
) ? true : false;
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 (arg1
)->EnableOrientation(arg2
);
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 Py_INCREF(Py_None
); resultobj
= Py_None
;
15989 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "flag", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16001 arg2
= PyInt_AsLong(obj1
) ? true : false;
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 (arg1
)->EnablePaper(arg2
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16021 PyObject
* obj0
= 0 ;
16022 PyObject
* obj1
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self",(char *) "flag", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16029 arg2
= PyInt_AsLong(obj1
) ? true : false;
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 (arg1
)->EnablePrinter(arg2
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (bool)(arg1
)->GetDefaultMinMargins();
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= PyInt_FromLong((long)result
);
16070 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (bool)(arg1
)->GetEnableMargins();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= PyInt_FromLong((long)result
);
16095 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (bool)(arg1
)->GetEnableOrientation();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= PyInt_FromLong((long)result
);
16120 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (bool)(arg1
)->GetEnablePaper();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= PyInt_FromLong((long)result
);
16145 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (bool)(arg1
)->GetEnablePrinter();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= PyInt_FromLong((long)result
);
16170 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (bool)(arg1
)->GetEnableHelp();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= PyInt_FromLong((long)result
);
16195 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (bool)(arg1
)->GetDefaultInfo();
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= PyInt_FromLong((long)result
);
16220 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (arg1
)->GetMarginTopLeft();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16239 wxPoint
* resultptr
;
16240 resultptr
= new wxPoint((wxPoint
&) result
);
16241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16249 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (arg1
)->GetMarginBottomRight();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 wxPoint
* resultptr
;
16269 resultptr
= new wxPoint((wxPoint
&) result
);
16270 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16278 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (arg1
)->GetMinMarginTopLeft();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 wxPoint
* resultptr
;
16298 resultptr
= new wxPoint((wxPoint
&) result
);
16299 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16307 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
;
16309 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16311 PyObject
* obj0
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 result
= (arg1
)->GetMinMarginBottomRight();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16326 wxPoint
* resultptr
;
16327 resultptr
= new wxPoint((wxPoint
&) result
);
16328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16336 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (int)(arg1
)->GetPaperId();
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= PyInt_FromLong((long)result
);
16361 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (arg1
)->GetPaperSize();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 wxSize
* resultptr
;
16381 resultptr
= new wxSize((wxSize
&) result
);
16382 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16390 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16393 wxPrintData
*result
;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16405 result
= (wxPrintData
*) &_result_ref
;
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16418 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (bool)(arg1
)->Ok();
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= PyInt_FromLong((long)result
);
16443 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "flag", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16455 arg2
= PyInt_AsLong(obj1
) ? true : false;
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 (arg1
)->SetDefaultInfo(arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 Py_INCREF(Py_None
); resultobj
= Py_None
;
16471 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "flag", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16483 arg2
= PyInt_AsLong(obj1
) ? true : false;
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 (arg1
)->SetDefaultMinMargins(arg2
);
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 Py_INCREF(Py_None
); resultobj
= Py_None
;
16499 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16502 wxPoint
*arg2
= 0 ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self",(char *) "pt", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 Py_INCREF(Py_None
); resultobj
= Py_None
;
16530 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16533 wxPoint
*arg2
= 0 ;
16535 PyObject
* obj0
= 0 ;
16536 PyObject
* obj1
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "pt", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 Py_INCREF(Py_None
); resultobj
= Py_None
;
16561 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16564 wxPoint
*arg2
= 0 ;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self",(char *) "pt", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 Py_INCREF(Py_None
); resultobj
= Py_None
;
16592 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16595 wxPoint
*arg2
= 0 ;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self",(char *) "pt", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 Py_INCREF(Py_None
); resultobj
= Py_None
;
16623 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "self",(char *) "id", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16648 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "size", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16663 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 Py_INCREF(Py_None
); resultobj
= Py_None
;
16679 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16682 wxPrintData
*arg2
= 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "printData", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16692 if (arg2
== NULL
) {
16693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
16711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16712 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
16714 return Py_BuildValue((char *)"");
16716 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxWindow
*arg1
= (wxWindow
*) 0 ;
16719 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
16720 wxPageSetupDialog
*result
;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "parent",(char *) "data", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
16746 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16749 wxPageSetupDialogData
*result
;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
16756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
16761 result
= (wxPageSetupDialogData
*) &_result_ref
;
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
16774 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16776 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (int)(arg1
)->ShowModal();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= PyInt_FromLong((long)result
);
16799 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
16801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16802 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
16804 return Py_BuildValue((char *)"");
16806 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxPrintDialogData
*result
;
16809 char *kwnames
[] = {
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (wxPrintDialogData
*)new wxPrintDialogData();
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
16828 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 Py_INCREF(Py_None
); resultobj
= Py_None
;
16852 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= PyInt_FromLong((long)result
);
16877 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= PyInt_FromLong((long)result
);
16902 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= PyInt_FromLong((long)result
);
16927 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= PyInt_FromLong((long)result
);
16952 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16956 PyObject
* obj0
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= PyInt_FromLong((long)result
);
16977 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= PyInt_FromLong((long)result
);
17002 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= PyInt_FromLong((long)result
);
17027 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= PyInt_FromLong((long)result
);
17052 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= PyInt_FromLong((long)result
);
17077 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= PyInt_FromLong((long)result
);
17102 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self",(char *) "v", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 (arg1
)->SetFromPage(arg2
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 Py_INCREF(Py_None
); resultobj
= Py_None
;
17127 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self",(char *) "v", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->SetToPage(arg2
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 Py_INCREF(Py_None
); resultobj
= Py_None
;
17152 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "v", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 (arg1
)->SetMinPage(arg2
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 Py_INCREF(Py_None
); resultobj
= Py_None
;
17177 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self",(char *) "v", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 (arg1
)->SetMaxPage(arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 Py_INCREF(Py_None
); resultobj
= Py_None
;
17202 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17206 PyObject
* obj0
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self",(char *) "v", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 (arg1
)->SetNoCopies(arg2
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 Py_INCREF(Py_None
); resultobj
= Py_None
;
17227 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self",(char *) "flag", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17239 arg2
= PyInt_AsLong(obj1
) ? true : false;
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 (arg1
)->SetAllPages(arg2
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 Py_INCREF(Py_None
); resultobj
= Py_None
;
17255 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self",(char *) "flag", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17267 arg2
= PyInt_AsLong(obj1
) ? true : false;
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 (arg1
)->SetSelection(arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self",(char *) "flag", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 arg2
= PyInt_AsLong(obj1
) ? true : false;
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->SetCollate(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "flag", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17323 arg2
= PyInt_AsLong(obj1
) ? true : false;
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->SetPrintToFile(arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "flag", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17351 arg2
= PyInt_AsLong(obj1
) ? true : false;
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 (arg1
)->SetSetupDialog(arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 Py_INCREF(Py_None
); resultobj
= Py_None
;
17367 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "flag", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 arg2
= PyInt_AsLong(obj1
) ? true : false;
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 (arg1
)->EnablePrintToFile(arg2
);
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self",(char *) "flag", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17407 arg2
= PyInt_AsLong(obj1
) ? true : false;
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 (arg1
)->EnableSelection(arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 Py_INCREF(Py_None
); resultobj
= Py_None
;
17423 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self",(char *) "flag", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17435 arg2
= PyInt_AsLong(obj1
) ? true : false;
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 (arg1
)->EnablePageNumbers(arg2
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 Py_INCREF(Py_None
); resultobj
= Py_None
;
17451 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "flag", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17463 arg2
= PyInt_AsLong(obj1
) ? true : false;
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->EnableHelp(arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= PyInt_FromLong((long)result
);
17504 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= PyInt_FromLong((long)result
);
17529 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= PyInt_FromLong((long)result
);
17554 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= PyInt_FromLong((long)result
);
17579 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= PyInt_FromLong((long)result
);
17604 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17607 wxPrintData
*result
;
17608 PyObject
* obj0
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17619 result
= (wxPrintData
*) &_result_ref
;
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17632 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17635 wxPrintData
*arg2
= 0 ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "printData", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17645 if (arg2
== NULL
) {
17646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 Py_INCREF(Py_None
); resultobj
= Py_None
;
17662 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17665 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17667 return Py_BuildValue((char *)"");
17669 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxWindow
*arg1
= (wxWindow
*) 0 ;
17672 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17673 wxPrintDialog
*result
;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "parent",(char *) "data", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
17699 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17702 wxPrintDialogData
*result
;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17714 result
= (wxPrintDialogData
*) &_result_ref
;
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17727 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17731 PyObject
* obj0
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (wxDC
*)(arg1
)->GetPrintDC();
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= wxPyMake_wxObject(result
);
17754 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (int)(arg1
)->ShowModal();
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= PyInt_FromLong((long)result
);
17779 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17782 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
17784 return Py_BuildValue((char *)"");
17786 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
17790 PyObject
* obj0
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "data", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (wxPrinter
*)new wxPrinter(arg1
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
17813 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17840 wxWindow
*arg2
= (wxWindow
*) 0 ;
17841 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "parent",(char *) "printout", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17851 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17852 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->CreateAbortWindow(arg2
,arg3
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17870 wxPrintDialogData
*result
;
17871 PyObject
* obj0
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
17882 result
= (wxPrintDialogData
*) &_result_ref
;
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
17895 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17898 wxWindow
*arg2
= (wxWindow
*) 0 ;
17899 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17900 int arg4
= (int) True
;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17912 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= PyInt_FromLong((long)result
);
17927 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17930 wxWindow
*arg2
= (wxWindow
*) 0 ;
17932 PyObject
* obj0
= 0 ;
17933 PyObject
* obj1
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self",(char *) "parent", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= wxPyMake_wxObject(result
);
17957 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
17960 wxWindow
*arg2
= (wxWindow
*) 0 ;
17961 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
17962 wxString
*arg4
= 0 ;
17963 bool temp4
= False
;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 PyObject
* obj2
= 0 ;
17967 PyObject
* obj3
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17975 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17977 arg4
= wxString_in_helper(obj3
);
17978 if (arg4
== NULL
) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
18003 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18006 wxWindow
*arg2
= (wxWindow
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "parent", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= (bool)(arg1
)->Setup(arg2
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= PyInt_FromLong((long)result
);
18031 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (bool)(arg1
)->GetAbort();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= PyInt_FromLong((long)result
);
18056 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18059 char *kwnames
[] = {
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (int)wxPrinter::GetLastError();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= PyInt_FromLong((long)result
);
18078 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18081 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18083 return Py_BuildValue((char *)"");
18085 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18088 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18089 wxPyPrintout
*result
;
18090 bool temp1
= False
;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "title", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18099 arg1
= wxString_in_helper(obj0
);
18100 if (arg1
== NULL
) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= wxPyMake_wxObject(result
);
18128 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18131 PyObject
*arg2
= (PyObject
*) 0 ;
18132 PyObject
*arg3
= (PyObject
*) 0 ;
18133 PyObject
* obj0
= 0 ;
18134 PyObject
* obj1
= 0 ;
18135 PyObject
* obj2
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self",(char *) "self",(char *) "_class", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 Py_INCREF(Py_None
); resultobj
= Py_None
;
18158 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18189 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (wxDC
*)(arg1
)->GetDC();
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= wxPyMake_wxObject(result
);
18216 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18219 wxDC
*arg2
= (wxDC
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "dc", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 (arg1
)->SetDC(arg2
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 Py_INCREF(Py_None
); resultobj
= Py_None
;
18243 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self",(char *) "w",(char *) "h", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18272 int *arg2
= (int *) 0 ;
18273 int *arg3
= (int *) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 Py_INCREF(Py_None
); resultobj
= Py_None
;
18294 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18295 resultobj
= t_output_helper(resultobj
,o
);
18298 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18299 resultobj
= t_output_helper(resultobj
,o
);
18307 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "w",(char *) "h", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 Py_INCREF(Py_None
); resultobj
= Py_None
;
18333 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18336 int *arg2
= (int *) 0 ;
18337 int *arg3
= (int *) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18359 resultobj
= t_output_helper(resultobj
,o
);
18362 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18363 resultobj
= t_output_helper(resultobj
,o
);
18371 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "x",(char *) "y", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 (arg1
)->SetPPIScreen(arg2
,arg3
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18400 int *arg2
= (int *) 0 ;
18401 int *arg3
= (int *) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->GetPPIScreen(arg2
,arg3
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18423 resultobj
= t_output_helper(resultobj
,o
);
18426 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18427 resultobj
= t_output_helper(resultobj
,o
);
18435 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "x",(char *) "y", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 Py_INCREF(Py_None
); resultobj
= Py_None
;
18461 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18464 int *arg2
= (int *) 0 ;
18465 int *arg3
= (int *) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 Py_INCREF(Py_None
); resultobj
= Py_None
;
18486 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18487 resultobj
= t_output_helper(resultobj
,o
);
18490 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18491 resultobj
= t_output_helper(resultobj
,o
);
18499 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self", NULL
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (bool)(arg1
)->IsPreview();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= PyInt_FromLong((long)result
);
18524 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self",(char *) "p", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18536 arg2
= PyInt_AsLong(obj1
) ? true : false;
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->SetIsPreview(arg2
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= PyInt_FromLong((long)result
);
18579 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 (arg1
)->base_OnEndDocument();
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 Py_INCREF(Py_None
); resultobj
= Py_None
;
18603 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 (arg1
)->base_OnBeginPrinting();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 Py_INCREF(Py_None
); resultobj
= Py_None
;
18627 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->base_OnEndPrinting();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18651 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->base_OnPreparePrinting();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 Py_INCREF(Py_None
); resultobj
= Py_None
;
18675 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "page", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (bool)(arg1
)->base_HasPage(arg2
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= PyInt_FromLong((long)result
);
18701 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18704 int *arg2
= (int *) 0 ;
18705 int *arg3
= (int *) 0 ;
18706 int *arg4
= (int *) 0 ;
18707 int *arg5
= (int *) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 Py_INCREF(Py_None
); resultobj
= Py_None
;
18732 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18733 resultobj
= t_output_helper(resultobj
,o
);
18736 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18737 resultobj
= t_output_helper(resultobj
,o
);
18740 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
18741 resultobj
= t_output_helper(resultobj
,o
);
18744 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
18745 resultobj
= t_output_helper(resultobj
,o
);
18753 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
18755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18756 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
18758 return Py_BuildValue((char *)"");
18760 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18763 wxWindow
*arg2
= (wxWindow
*) 0 ;
18764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18768 long arg5
= (long) 0 ;
18769 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
18770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18771 wxPreviewCanvas
*result
;
18774 bool temp6
= False
;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 PyObject
* obj2
= 0 ;
18778 PyObject
* obj3
= 0 ;
18779 PyObject
* obj5
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18796 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18801 arg6
= wxString_in_helper(obj5
);
18802 if (arg6
== NULL
) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
18828 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
18830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18831 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
18833 return Py_BuildValue((char *)"");
18835 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
18838 wxFrame
*arg2
= (wxFrame
*) 0 ;
18839 wxString
*arg3
= 0 ;
18840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18844 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
18845 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
18846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18847 wxPreviewFrame
*result
;
18848 bool temp3
= False
;
18851 bool temp7
= False
;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 PyObject
* obj2
= 0 ;
18855 PyObject
* obj3
= 0 ;
18856 PyObject
* obj4
= 0 ;
18857 PyObject
* obj6
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18866 arg3
= wxString_in_helper(obj2
);
18867 if (arg3
== NULL
) SWIG_fail
;
18873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18879 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18884 arg7
= wxString_in_helper(obj6
);
18885 if (arg7
== NULL
) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
18919 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 (arg1
)->Initialize();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 Py_INCREF(Py_None
); resultobj
= Py_None
;
18943 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18946 PyObject
* obj0
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->CreateControlBar();
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
18976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 (arg1
)->CreateCanvas();
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 Py_INCREF(Py_None
); resultobj
= Py_None
;
18991 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
18994 wxPreviewControlBar
*result
;
18995 PyObject
* obj0
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19016 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19019 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19021 return Py_BuildValue((char *)"");
19023 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19027 wxWindow
*arg3
= (wxWindow
*) 0 ;
19028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19032 long arg6
= (long) wxTAB_TRAVERSAL
;
19033 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19035 wxPreviewControlBar
*result
;
19038 bool temp7
= False
;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj2
= 0 ;
19041 PyObject
* obj3
= 0 ;
19042 PyObject
* obj4
= 0 ;
19043 PyObject
* obj6
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19050 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19054 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19060 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19065 arg7
= wxString_in_helper(obj6
);
19066 if (arg7
== NULL
) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19092 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (int)(arg1
)->GetZoomControl();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= PyInt_FromLong((long)result
);
19117 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self",(char *) "zoom", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 (arg1
)->SetZoomControl(arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 Py_INCREF(Py_None
); resultobj
= Py_None
;
19142 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
;
19144 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19145 wxPrintPreview
*result
;
19146 PyObject
* obj0
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19167 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->OnPrevious();
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 Py_INCREF(Py_None
); resultobj
= Py_None
;
19239 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 Py_INCREF(Py_None
); resultobj
= Py_None
;
19263 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 Py_INCREF(Py_None
); resultobj
= Py_None
;
19287 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19290 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19292 return Py_BuildValue((char *)"");
19294 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19297 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19298 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19299 wxPrintPreview
*result
;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 PyObject
* obj2
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19311 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19327 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self",(char *) "pageNum", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= PyInt_FromLong((long)result
);
19353 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (int)(arg1
)->GetCurrentPage();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= PyInt_FromLong((long)result
);
19378 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19381 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "printout", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 (arg1
)->SetPrintout(arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 Py_INCREF(Py_None
); resultobj
= Py_None
;
19405 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19408 wxPyPrintout
*result
;
19409 PyObject
* obj0
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= wxPyMake_wxObject(result
);
19432 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19435 wxPyPrintout
*result
;
19436 PyObject
* obj0
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= wxPyMake_wxObject(result
);
19459 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19462 wxFrame
*arg2
= (wxFrame
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "frame", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 (arg1
)->SetFrame(arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19489 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self",(char *) "canvas", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 (arg1
)->SetCanvas(arg2
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 Py_INCREF(Py_None
); resultobj
= Py_None
;
19513 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (wxFrame
*)(arg1
)->GetFrame();
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= wxPyMake_wxObject(result
);
19540 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19543 wxPreviewCanvas
*result
;
19544 PyObject
* obj0
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19565 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19568 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 PyObject
* obj2
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19582 if (arg3
== NULL
) {
19583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= PyInt_FromLong((long)result
);
19599 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19602 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 PyObject
* obj2
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19616 if (arg3
== NULL
) {
19617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= PyInt_FromLong((long)result
);
19633 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self",(char *) "pageNum", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (bool)(arg1
)->RenderPage(arg2
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= PyInt_FromLong((long)result
);
19659 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19662 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self",(char *) "canvas", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->AdjustScrollbars(arg2
);
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 Py_INCREF(Py_None
); resultobj
= Py_None
;
19686 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19689 wxPrintDialogData
*result
;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19701 result
= (wxPrintDialogData
*) &_result_ref
;
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19714 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self",(char *) "percent", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 (arg1
)->SetZoom(arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 Py_INCREF(Py_None
); resultobj
= Py_None
;
19739 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 char *kwnames
[] = {
19745 (char *) "self", NULL
19748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
19749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (int)(arg1
)->GetZoom();
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= PyInt_FromLong((long)result
);
19764 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (int)(arg1
)->GetMaxPage();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= PyInt_FromLong((long)result
);
19789 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19793 PyObject
* obj0
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (int)(arg1
)->GetMinPage();
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= PyInt_FromLong((long)result
);
19814 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
;
19816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19818 PyObject
* obj0
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
19824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (bool)(arg1
)->Ok();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19832 resultobj
= PyInt_FromLong((long)result
);
19839 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self",(char *) "ok", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19851 arg2
= PyInt_AsLong(obj1
) ? true : false;
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 (arg1
)->SetOk(arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 Py_INCREF(Py_None
); resultobj
= Py_None
;
19867 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19872 PyObject
* obj0
= 0 ;
19873 PyObject
* obj1
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self",(char *) "interactive", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
19879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19880 arg2
= PyInt_AsLong(obj1
) ? true : false;
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->Print(arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= PyInt_FromLong((long)result
);
19896 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 (arg1
)->DetermineScaling();
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 Py_INCREF(Py_None
); resultobj
= Py_None
;
19920 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
19922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19923 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
19925 return Py_BuildValue((char *)"");
19927 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19930 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19931 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19932 wxPyPrintPreview
*result
;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 PyObject
* obj2
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
19960 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19963 PyObject
*arg2
= (PyObject
*) 0 ;
19964 PyObject
*arg3
= (PyObject
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 PyObject
* obj2
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self",(char *) "self",(char *) "_class", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self",(char *) "pageNum", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= PyInt_FromLong((long)result
);
20016 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20019 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 PyObject
* obj2
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20032 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20033 if (arg3
== NULL
) {
20034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= PyInt_FromLong((long)result
);
20050 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20053 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 PyObject
* obj2
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20066 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20067 if (arg3
== NULL
) {
20068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20077 resultobj
= PyInt_FromLong((long)result
);
20084 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self",(char *) "pageNum", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= PyInt_FromLong((long)result
);
20110 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "self",(char *) "percent", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->base_SetZoom(arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 Py_INCREF(Py_None
); resultobj
= Py_None
;
20135 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "interactive", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20148 arg2
= PyInt_AsLong(obj1
) ? true : false;
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (bool)(arg1
)->base_Print(arg2
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= PyInt_FromLong((long)result
);
20164 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 (arg1
)->base_DetermineScaling();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 Py_INCREF(Py_None
); resultobj
= Py_None
;
20188 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20191 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20193 return Py_BuildValue((char *)"");
20195 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20198 wxFrame
*arg2
= (wxFrame
*) 0 ;
20199 wxString
*arg3
= 0 ;
20200 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20201 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20202 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20203 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20204 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20205 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20206 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20207 wxPyPreviewFrame
*result
;
20208 bool temp3
= False
;
20211 bool temp7
= False
;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 PyObject
* obj2
= 0 ;
20215 PyObject
* obj3
= 0 ;
20216 PyObject
* obj4
= 0 ;
20217 PyObject
* obj6
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20226 arg3
= wxString_in_helper(obj2
);
20227 if (arg3
== NULL
) SWIG_fail
;
20233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20244 arg7
= wxString_in_helper(obj6
);
20245 if (arg7
== NULL
) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20279 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20282 PyObject
*arg2
= (PyObject
*) 0 ;
20283 PyObject
*arg3
= (PyObject
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 PyObject
* obj2
= 0 ;
20287 char *kwnames
[] = {
20288 (char *) "self",(char *) "self",(char *) "_class", NULL
20291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 Py_INCREF(Py_None
); resultobj
= Py_None
;
20309 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20312 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "canvas", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetPreviewCanvas(arg2
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20339 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self",(char *) "bar", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->SetControlBar(arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20363 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 (arg1
)->base_Initialize();
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 Py_INCREF(Py_None
); resultobj
= Py_None
;
20387 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 (arg1
)->base_CreateCanvas();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 Py_INCREF(Py_None
); resultobj
= Py_None
;
20411 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 (arg1
)->base_CreateControlBar();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 Py_INCREF(Py_None
); resultobj
= Py_None
;
20435 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20438 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20440 return Py_BuildValue((char *)"");
20442 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
;
20444 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20446 wxWindow
*arg3
= (wxWindow
*) 0 ;
20447 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20448 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20449 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20450 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20451 long arg6
= (long) 0 ;
20452 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20453 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20454 wxPyPreviewControlBar
*result
;
20457 bool temp7
= False
;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 PyObject
* obj3
= 0 ;
20461 PyObject
* obj4
= 0 ;
20462 PyObject
* obj6
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20469 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20484 arg7
= wxString_in_helper(obj6
);
20485 if (arg7
== NULL
) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20511 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20514 PyObject
*arg2
= (PyObject
*) 0 ;
20515 PyObject
*arg3
= (PyObject
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 PyObject
* obj2
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self",(char *) "self",(char *) "_class", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 Py_INCREF(Py_None
); resultobj
= Py_None
;
20541 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20544 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self",(char *) "preview", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 (arg1
)->SetPrintPreview(arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 Py_INCREF(Py_None
); resultobj
= Py_None
;
20568 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 (arg1
)->base_CreateButtons();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20592 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self",(char *) "zoom", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->base_SetZoomControl(arg2
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 Py_INCREF(Py_None
); resultobj
= Py_None
;
20617 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20620 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20622 return Py_BuildValue((char *)"");
20624 static PyMethodDef SwigMethods
[] = {
20625 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20626 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20627 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20628 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20629 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20630 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20631 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20632 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20633 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20634 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20635 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20636 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20637 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20638 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20639 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20640 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20641 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20642 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20643 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20644 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20645 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20646 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20647 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20648 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20649 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20650 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20651 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20652 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20653 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20654 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20655 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20656 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20657 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20658 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20659 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20660 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20661 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20662 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20663 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20664 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20665 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20666 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20667 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20668 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
20669 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
20670 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20671 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
20672 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
20673 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20674 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20675 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20676 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20677 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20678 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20679 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20680 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20681 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
20682 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20683 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20684 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
20685 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
20686 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
20687 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
20688 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
20689 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
20690 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
20691 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20692 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
20693 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
20694 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
20695 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
20696 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
20697 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20698 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
20699 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
20700 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
20701 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20702 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
20703 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
20704 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
20705 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
20706 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20707 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
20708 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
20709 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
20710 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
20711 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20712 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
20713 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
20714 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20715 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
20716 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
20717 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20718 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
20719 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20720 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20721 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20722 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
20723 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
20724 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
20725 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
20726 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
20727 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
20728 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
20729 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20730 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
20731 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20732 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
20733 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
20734 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20735 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
20736 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
20737 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
20738 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
20739 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
20740 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
20741 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
20742 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20743 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20744 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
20745 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20746 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20747 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20748 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20749 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
20750 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20751 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20752 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20753 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
20754 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
20755 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
20756 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20757 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
20758 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
20759 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
20760 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
20761 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
20762 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20763 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
20764 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20765 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20766 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
20767 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
20768 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
20769 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
20770 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20771 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20772 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20773 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
20774 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20775 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20776 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20777 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20778 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20779 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20780 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
20781 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
20782 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
20783 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
20784 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
20785 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
20786 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20787 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
20788 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20789 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
20790 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20791 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
20792 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
20793 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
20794 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20795 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
20796 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20797 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20798 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
20799 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
20800 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20801 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20802 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20803 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20804 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
20805 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
20806 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20807 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20808 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
20809 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
20810 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
20811 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20812 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20813 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20814 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20815 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20816 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
20817 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
20818 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
20819 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
20820 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20821 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
20822 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
20823 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
20824 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
20825 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
20826 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20827 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
20828 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20829 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
20830 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
20831 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20832 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
20833 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20834 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
20835 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
20836 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
20837 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
20838 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
20839 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
20840 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
20841 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20842 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20843 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20844 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20845 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20846 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
20847 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
20848 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
20849 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
20850 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
20851 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
20852 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
20853 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20854 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
20855 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20856 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
20857 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
20858 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
20859 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
20860 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
20861 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20862 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20863 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20864 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
20865 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20866 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
20867 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
20868 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
20869 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
20870 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
20871 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20872 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20873 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20874 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
20875 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20876 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
20877 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
20878 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
20879 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
20880 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
20881 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
20882 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
20883 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
20884 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
20885 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20886 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
20887 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
20888 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
20889 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
20890 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
20891 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
20892 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20893 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
20894 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
20895 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
20896 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20897 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
20898 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
20899 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
20900 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
20901 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
20902 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20903 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
20904 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20905 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20906 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20907 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
20908 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20909 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
20910 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
20911 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
20912 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
20913 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20914 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
20915 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
20916 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20917 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20918 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20919 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20920 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20921 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20922 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
20923 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
20924 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20925 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
20926 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20927 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20928 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20929 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20930 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
20931 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
20932 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
20933 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
20934 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
20935 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
20936 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
20937 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
20938 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
20939 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
20940 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
20941 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20942 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
20943 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
20944 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
20945 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
20946 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20947 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
20948 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
20949 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20950 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
20951 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
20952 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
20953 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
20954 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20955 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
20956 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
20957 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
20958 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
20959 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
20960 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
20962 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
20964 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
20966 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
20968 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
20970 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
20971 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
20972 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
20973 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20975 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
20976 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
20977 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
20978 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
20979 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
20981 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
20982 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
20983 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
20984 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20985 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20986 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20987 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
20988 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20989 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20990 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20991 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
20992 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
20993 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
20994 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20995 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
20996 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20997 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
20998 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
20999 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21000 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21001 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21002 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21003 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21004 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21005 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21006 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21007 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21008 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21009 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21010 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21011 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21012 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21013 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21014 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21015 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21016 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21017 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21018 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21019 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21020 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21021 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21022 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21023 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21024 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21025 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21026 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21027 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21028 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21029 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21030 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21031 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21032 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21033 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21034 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21035 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21036 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21037 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21038 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21039 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21040 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21041 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21042 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21043 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21044 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21045 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21048 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21049 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21050 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21051 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21053 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21054 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21055 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21057 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21060 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21063 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21064 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21065 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21069 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21072 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21093 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21113 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21116 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21134 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21148 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21152 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21163 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21186 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21191 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21202 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21211 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21225 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21227 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21233 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21243 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21267 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21272 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21277 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21285 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21295 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21297 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21298 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21300 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21303 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21304 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21306 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21307 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21309 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21310 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21312 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21313 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21315 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21316 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21318 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21319 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21321 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21322 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21324 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21325 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21327 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21328 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21330 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21331 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21333 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21336 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21337 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21339 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21340 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21342 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21345 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21346 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21348 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21349 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21351 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21352 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21354 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21355 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21357 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21358 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21360 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21361 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21363 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21364 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21366 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21367 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21369 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21370 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21372 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21373 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21375 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21376 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21378 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21379 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21381 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21382 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21384 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21385 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21387 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21388 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21390 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21393 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21396 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21397 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21399 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21400 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21402 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21403 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21405 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21408 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21411 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21412 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21414 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21415 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21417 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21418 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21420 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21421 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21423 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21424 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21426 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21429 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21432 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21435 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21438 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21439 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21441 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21442 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21444 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21445 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21447 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21450 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21453 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21456 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21459 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21462 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21465 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21468 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21469 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21471 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21472 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21474 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21477 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21480 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21483 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21484 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21486 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21489 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21490 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21492 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21493 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21495 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21496 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21498 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21499 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21501 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21504 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21505 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21507 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21510 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21511 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21513 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21516 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21519 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21522 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21523 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21525 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21528 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21529 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21531 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21534 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21537 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21540 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21543 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21546 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21547 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21549 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21552 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21555 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21558 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21561 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21564 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21567 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21570 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21573 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21574 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21576 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21577 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21579 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21580 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21582 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21583 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21585 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21586 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21588 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21589 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21591 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21592 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21594 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21595 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21598 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21600 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21601 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21603 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21606 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21609 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21610 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21612 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21613 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21615 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21618 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21619 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21621 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21622 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21624 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21625 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21627 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21628 return (void *)((wxObject
*) ((wxSizer
*) x
));
21630 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21631 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21633 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21636 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21639 static void *_p_wxEventTo_p_wxObject(void *x
) {
21640 return (void *)((wxObject
*) ((wxEvent
*) x
));
21642 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21643 return (void *)((wxObject
*) ((wxFontData
*) x
));
21645 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21646 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21648 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21649 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21651 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21652 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21654 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21655 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21657 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21658 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21660 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21663 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21666 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21667 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21669 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21670 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21672 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21673 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21675 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21676 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21678 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21679 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21681 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21682 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21684 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
21685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21687 static void *_p_wxControlTo_p_wxObject(void *x
) {
21688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21690 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21691 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21693 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
21694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21696 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21697 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21699 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
21700 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
21702 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21703 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21705 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
21706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21708 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
21709 return (void *)((wxObject
*) ((wxColourData
*) x
));
21711 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21712 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21714 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21717 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
21718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
21720 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
21721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21723 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
21724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21726 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
21727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21729 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
21730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21732 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
21733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21735 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
21736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21738 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
21739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21741 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
21742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21744 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21745 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21747 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
21748 return (void *)((wxObject
*) ((wxPrinter
*) x
));
21750 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21751 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21753 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21754 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21756 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21759 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21760 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21762 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21763 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21765 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21766 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21768 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21769 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21771 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21772 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21774 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21775 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21777 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21780 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21783 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21786 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21789 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21792 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21795 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21796 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21798 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21799 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21801 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21802 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21804 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21807 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21808 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21810 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21813 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21814 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21816 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
21817 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21819 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
21820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21822 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
21823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21825 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21826 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21828 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
21829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21831 static void *_p_wxImageTo_p_wxObject(void *x
) {
21832 return (void *)((wxObject
*) ((wxImage
*) x
));
21834 static void *_p_wxFrameTo_p_wxObject(void *x
) {
21835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21837 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
21838 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
21840 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21841 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21843 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
21844 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21846 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
21847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
21849 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
21850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21852 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21853 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21855 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21856 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21858 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21859 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21861 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21862 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21864 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21867 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21870 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
21871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21873 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
21874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
21876 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
21877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
21879 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
21880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
21882 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
21883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
21885 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
21886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21888 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
21889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
21891 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
21892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21894 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
21895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21897 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
21898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21900 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
21901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
21903 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
21904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
21906 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
21907 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
21909 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
21910 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
21912 static void *_p_wxPanelTo_p_wxObject(void *x
) {
21913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
21915 static void *_p_wxDialogTo_p_wxObject(void *x
) {
21916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21918 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
21919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21921 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
21922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21924 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
21925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21927 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
21928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21930 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
21931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21933 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21934 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21936 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21939 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21940 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21942 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21943 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21945 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21946 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21948 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21949 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21951 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21952 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21954 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21957 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21958 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21960 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
21961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21963 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
21964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21966 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21967 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21969 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21970 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21972 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21975 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21978 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
21979 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
21981 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
21982 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
21984 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21987 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21988 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21990 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
21991 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21993 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
21994 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21996 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
21997 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21999 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22000 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22002 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22003 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22005 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22006 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22008 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22009 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22011 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22012 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22014 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22015 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22017 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22018 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22020 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22021 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22023 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22024 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22026 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22027 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22029 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22030 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22032 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22033 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22035 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22036 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22038 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22039 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22041 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22042 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22044 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22045 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22047 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22048 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22050 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22051 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22053 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22054 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22056 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22057 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22059 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22060 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22062 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22063 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22065 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22066 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22068 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22069 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22071 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22072 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22074 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22075 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22077 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22078 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22080 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22081 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22083 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22084 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22086 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22087 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22089 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22090 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22092 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22093 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22095 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22096 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22098 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22099 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22101 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22102 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22104 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22105 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22107 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22108 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22110 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22111 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22113 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22114 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22116 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22117 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22119 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22120 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22122 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22123 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22125 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22126 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22128 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22129 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22131 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22132 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22134 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22135 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22137 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22138 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22140 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22141 return (void *)((wxWindow
*) ((wxControl
*) x
));
22143 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22146 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22149 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22150 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22152 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22153 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22155 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22156 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22158 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22159 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22161 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22162 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22164 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22165 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22167 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22168 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22170 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22171 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22173 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22174 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22176 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22177 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22179 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22180 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22182 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22183 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22185 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22186 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22188 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22189 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22191 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22192 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22194 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22195 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22197 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22198 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22200 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22201 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22203 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22204 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22206 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22207 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22209 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22210 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22212 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22213 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22215 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22216 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22218 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22219 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22221 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22222 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22224 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22225 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22227 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22228 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22230 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22231 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22233 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22234 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22236 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22237 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22239 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22240 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22242 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22243 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22245 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22246 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22248 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22249 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22251 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22252 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22254 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22255 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22257 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22258 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22260 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22261 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22263 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22264 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22266 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22267 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22269 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22270 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22272 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22273 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22275 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22276 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22278 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22279 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22281 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22282 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22284 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22285 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22287 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22288 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22290 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22291 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22293 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22294 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22296 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22297 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22298 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22299 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22300 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22301 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22302 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22303 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}};
22304 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22305 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22306 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22307 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22308 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22309 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22310 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22311 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22312 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22313 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22314 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22315 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22316 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22317 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22318 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22319 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22320 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22321 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22322 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22323 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22324 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22325 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22326 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22327 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22328 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22329 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22330 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22331 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}};
22332 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22333 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22334 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22335 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22336 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22337 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}};
22338 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22339 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22340 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22341 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22342 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22343 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22344 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}};
22345 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22346 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22347 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22348 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22349 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22350 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}};
22351 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22352 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}};
22353 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22354 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}};
22355 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}};
22356 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22357 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22358 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22359 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22360 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22361 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22362 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22363 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22364 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22365 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22366 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22367 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}};
22368 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}};
22369 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22370 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22371 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}};
22372 static swig_type_info _swigt__p_wxPrintQuality
[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22373 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22374 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22375 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22376 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22377 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22378 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22380 static swig_type_info
*swig_types_initial
[] = {
22381 _swigt__p_wxQueryLayoutInfoEvent
,
22382 _swigt__p_wxPreviewFrame
,
22383 _swigt__p_wxPyPreviewFrame
,
22384 _swigt__p_wxPyPanel
,
22386 _swigt__p_wxPrintData
,
22387 _swigt__p_wxFontData
,
22389 _swigt__p_wxTaskBarIcon
,
22390 _swigt__p_wxIconBundle
,
22391 _swigt__p_wxLayoutAlgorithm
,
22392 _swigt__p_wxFindDialogEvent
,
22393 _swigt__p_wxPreviewCanvas
,
22395 _swigt__p_wxSplitterEvent
,
22396 _swigt__p_wxRegion
,
22397 _swigt__p_wxFindReplaceData
,
22402 _swigt__p_wxMDIChildFrame
,
22403 _swigt__p_wxColourData
,
22404 _swigt__p_wxNotifyEvent
,
22405 _swigt__p_wxPyWindow
,
22406 _swigt__p_wxSplashScreen
,
22407 _swigt__p_wxFindReplaceDialog
,
22408 _swigt__p_wxProgressDialog
,
22409 _swigt__p_wxMessageDialog
,
22410 _swigt__p_wxTextEntryDialog
,
22411 _swigt__p_wxSingleChoiceDialog
,
22412 _swigt__p_wxMultiChoiceDialog
,
22413 _swigt__p_wxFileDialog
,
22414 _swigt__p_wxPrinter
,
22415 _swigt__p_wxArrayInt
,
22416 _swigt__p_wxEvtHandler
,
22417 _swigt__p_wxCalculateLayoutEvent
,
22418 _swigt__p_wxPyHtmlListBox
,
22419 _swigt__p_wxPyVListBox
,
22421 _swigt__p_wxMiniFrame
,
22423 _swigt__p_wxPyPrintout
,
22424 _swigt__p_wxTaskBarIconEvent
,
22425 _swigt__p_wxScrollWinEvent
,
22426 _swigt__p_wxStatusBar
,
22427 _swigt__p_wxMDIParentFrame
,
22429 _swigt__p_wxObject
,
22430 _swigt__p_unsigned_long
,
22431 _swigt__p_wxMDIClientWindow
,
22432 _swigt__p_wxTipWindow
,
22433 _swigt__p_wxSashLayoutWindow
,
22434 _swigt__p_wxSplitterWindow
,
22435 _swigt__p_wxPyVScrolledWindow
,
22436 _swigt__p_wxPyPopupTransientWindow
,
22437 _swigt__p_wxPopupWindow
,
22438 _swigt__p_wxSashWindow
,
22439 _swigt__p_wxTopLevelWindow
,
22440 _swigt__p_wxWindow
,
22441 _swigt__p_wxScrolledWindow
,
22442 _swigt__p_wxSplashScreenWindow
,
22443 _swigt__p_wxMenuBar
,
22444 _swigt__p_wxPrintPreview
,
22445 _swigt__p_wxSashEvent
,
22446 _swigt__p_wxString
,
22447 _swigt__p_wxPyPrintPreview
,
22448 _swigt__p_wxPageSetupDialog
,
22449 _swigt__p_wxFontDialog
,
22450 _swigt__p_wxDirDialog
,
22451 _swigt__p_wxColourDialog
,
22452 _swigt__p_wxDialog
,
22454 _swigt__p_wxPrintDialog
,
22455 _swigt__p_wxBitmap
,
22456 _swigt__p_wxCommandEvent
,
22457 _swigt__p_wxPrintQuality
,
22458 _swigt__p_wxPreviewControlBar
,
22459 _swigt__p_wxPyPreviewControlBar
,
22460 _swigt__p_wxColour
,
22461 _swigt__p_wxToolBar
,
22462 _swigt__p_wxPageSetupDialogData
,
22463 _swigt__p_wxPrintDialogData
,
22468 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22470 static swig_const_info swig_const_table
[] = {
22471 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22472 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22473 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22474 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22475 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22476 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22477 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22478 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22479 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22480 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22481 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22482 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22483 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22484 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22485 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22486 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22487 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22488 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22489 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22490 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22491 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22492 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22493 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22494 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22495 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22496 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22497 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22498 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22499 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22500 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22501 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22502 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22503 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22504 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22505 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22506 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22507 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22508 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22509 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22510 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22511 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22512 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22513 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22514 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22515 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22516 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22517 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22518 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22519 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22520 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22521 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22522 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22523 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22524 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22525 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22526 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22527 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22528 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22529 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22530 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22531 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22532 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22533 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22534 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22535 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22536 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22537 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22538 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22539 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22540 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22541 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22542 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22543 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22544 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22545 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22546 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22547 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22548 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22549 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22550 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22551 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22552 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22553 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22554 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22555 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22556 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22557 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22558 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22559 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22560 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22561 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22562 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22563 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22564 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22565 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22566 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22567 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22568 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22569 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22570 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22571 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22572 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22573 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22574 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22575 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22576 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22577 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22578 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22579 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22589 SWIGEXPORT(void) SWIG_init(void) {
22590 static PyObject
*SWIG_globals
= 0;
22591 static int typeinit
= 0;
22594 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22595 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22596 d
= PyModule_GetDict(m
);
22599 for (i
= 0; swig_types_initial
[i
]; i
++) {
22600 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22604 SWIG_InstallConstants(d
,swig_const_table
);
22606 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22607 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22608 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22609 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22610 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22611 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22612 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22614 // Map renamed classes back to their common name for OOR
22615 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22616 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22617 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22619 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22620 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22621 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22622 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22623 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22624 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22625 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22626 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22627 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22628 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22629 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22630 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22632 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");